From a57ceed5eff4df5076e230479a29d92d43738c38 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Fri, 1 Jun 2018 17:24:45 -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: Id849fb69a6ec71dc3fa66e30e17b6143c81f5cc8 Signed-off-by: Kevin Carter --- tests/test-nspawn-host-setup.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-nspawn-host-setup.yml b/tests/test-nspawn-host-setup.yml index e3b2125..767e959 100644 --- a/tests/test-nspawn-host-setup.yml +++ b/tests/test-nspawn-host-setup.yml @@ -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: