diff options
author | Neil Williams <codehelp@debian.org> | 2015-09-13 21:06:32 +0100 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-09-13 21:06:32 +0100 |
commit | 657d1c56a2ca55986ac561c9d01b9710d2e302ff (patch) | |
tree | 203b0eae8d6460e5812507c18c0637b787723df9 /bin | |
parent | 6d1bd54a0e0acefde03b8ce1777bcffeb27ea54a (diff) | |
download | vmdebootstrap-657d1c56a2ca55986ac561c9d01b9710d2e302ff.tar.gz |
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.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/vmdebootstrap | 2 |
1 files changed, 2 insertions, 0 deletions
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] |