From 7ca4224dda017ead78c718c9910816f315a83afb Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Fri, 1 Jun 2018 17:22:58 -0500 Subject: [PATCH] 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: I1a9e25f697b64e292261cf0abf8df61a97dd2730 Signed-off-by: Kevin Carter --- tasks/nspawn_networking.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/nspawn_networking.yml b/tasks/nspawn_networking.yml index b2b1972..bf883dd 100644 --- a/tasks/nspawn_networking.yml +++ b/tasks/nspawn_networking.yml @@ -108,6 +108,7 @@ name: systemd_networkd private: true vars: + systemd_networkd_prefix: "nspawn_host" systemd_run_networkd: true systemd_interface_cleanup: false systemd_netdevs: |-