diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-02-28 21:20:31 +0100 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-02-28 21:20:31 +0100 |
commit | 45b8ef0342b4254844cd46d5b94b10972ea9eec7 (patch) | |
tree | 56b1feb49b2e62c317d4aa449f011f23ef94cc0c /cloudinit/sources/DataSourceOVF.py | |
parent | 4befa58fe77e53b4102f6b4aae241704efca2a14 (diff) | |
download | vyos-cloud-init-45b8ef0342b4254844cd46d5b94b10972ea9eec7.tar.gz vyos-cloud-init-45b8ef0342b4254844cd46d5b94b10972ea9eec7.zip |
use ovf labels to set vyos config
Diffstat (limited to 'cloudinit/sources/DataSourceOVF.py')
-rw-r--r-- | cloudinit/sources/DataSourceOVF.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py index 3a3fcdf6..f9304644 100644 --- a/cloudinit/sources/DataSourceOVF.py +++ b/cloudinit/sources/DataSourceOVF.py @@ -394,7 +394,8 @@ def read_ovf_environment(contents): cfg = {} ud = None cfg_props = ['password'] - md_props = ['seedfrom', 'local-hostname', 'public-keys', 'instance-id'] + md_props = ['seedfrom', 'local-hostname', 'public-keys', 'instance-id', + 'ip0', 'netmask0', 'gateway', 'DNS', 'NTP'] for (prop, val) in props.items(): if prop == 'hostname': prop = "local-hostname" |