Add networkd prefix when creating networks

systemd networkd is a shared directory of networks that needs to be able
to co-exist with the host which may be using networkd on it's own. This
change adds an nspawn specific networkd prefix to the interface files to
ensure we're not creating interface file collisions.

Change-Id: Id849fb69a6ec71dc3fa66e30e17b6143c81f5cc8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-06-01 17:24:45 -05:00 committed by Kevin Carter (cloudnull)
parent 0046ccb266
commit a57ceed5ef
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@
name: systemd_networkd
private: true
vars:
systemd_networkd_prefix: "nspawn_host"
systemd_interface_cleanup: true
systemd_run_networkd: true
systemd_netdevs: