summaryrefslogtreecommitdiff
path: root/sysvinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-07-14 14:25:09 -0400
committerScott Moser <smoser@ubuntu.com>2016-07-14 14:25:09 -0400
commit74e4dff3774075b4e471df0258c8584feeb352bb (patch)
tree5815cfa2ec4f9035753e904f30116fdd5b872553 /sysvinit
parent660e04e658381ee52c9dc5f877745614cee15c42 (diff)
parent9a0189ccda40e366517c0690e0ea2833e533bf1a (diff)
downloadvyos-cloud-init-74e4dff3774075b4e471df0258c8584feeb352bb.tar.gz
vyos-cloud-init-74e4dff3774075b4e471df0258c8584feeb352bb.zip
ConfigDrive: fix writing of 'injected' files and legacy networking
Previous commit inadvertently disabled the consumption of 'injected' files in configdrive (openstack server boot --file=/target/file=local-file) unless the datasource was in 'pass' mode. The default mode is 'net' so that was not likely to happen. Also here are: a.) some comments to apply_network_config b.) add backwards compatibility for distros that do not yet implement apply_network_config by converting the network config into ENI format and calling apply_network. This is required because prior to the previous commit, those distros would have had 'apply_network' called with the openstack provided ENI file. But after this change they will have apply_network_config called by cloudinit's main. c.) add network_state_to_eni for converting net config to eni it supports the not-actually-correct 'hwaddress' field in ENI LP: #1602373
Diffstat (limited to 'sysvinit')
0 files changed, 0 insertions, 0 deletions