diff options
author | WebSpider <WebSpider@users.noreply.github.com> | 2020-11-03 15:47:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 09:47:03 -0500 |
commit | 7978feb3af5846a1a2ac489cde83febe975b046d (patch) | |
tree | 857ab9bdc3ef6847726f880499941272b61eb5b9 /cloudinit/sources | |
parent | 2c4500394b2e3b3074468fffc4d91b404304bc39 (diff) | |
download | vyos-cloud-init-7978feb3af5846a1a2ac489cde83febe975b046d.tar.gz vyos-cloud-init-7978feb3af5846a1a2ac489cde83febe975b046d.zip |
Fix not sourcing default 50-cloud-init ENI file on Debian (#598)
* Include both Ubuntu-style cfg file, and Debian-style directory in ENI
* Add WebSpider as contributor
Diffstat (limited to 'cloudinit/sources')
-rw-r--r-- | cloudinit/sources/helpers/vmware/imc/config_nic.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/sources/helpers/vmware/imc/config_nic.py b/cloudinit/sources/helpers/vmware/imc/config_nic.py index 3745a262..9cd2c0c0 100644 --- a/cloudinit/sources/helpers/vmware/imc/config_nic.py +++ b/cloudinit/sources/helpers/vmware/imc/config_nic.py @@ -275,6 +275,7 @@ class NicConfigurator(object): "# DO NOT EDIT THIS FILE BY HAND --" " AUTOMATICALLY GENERATED BY cloud-init", "source /etc/network/interfaces.d/*.cfg", + "source-directory /etc/network/interfaces.d", ] util.write_file(interfaceFile, content='\n'.join(lines)) |