From 657d1c56a2ca55986ac561c9d01b9710d2e302ff Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sun, 13 Sep 2015 21:06:32 +0100 Subject: Update for systemd persistent interface mask Disable systemd persistent interface names as the actual PCI output is unknowable at the time of creating the network interface details. --- bin/vmdebootstrap | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap index c2885a4..b5f60ef 100755 --- a/bin/vmdebootstrap +++ b/bin/vmdebootstrap @@ -526,6 +526,8 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth eth.write('\n') eth.write('auto eth0\n') eth.write('iface eth0 inet dhcp\n') + # force predictable interface names + base.mask_udev_predictable_rules(rootdir) def cleanup_system(self): base = self.handlers[Base.name] -- cgit v1.2.1