summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOVF.py
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-02-28 21:20:31 +0100
committerKim Hagen <kim.sidney@gmail.com>2019-02-28 21:20:31 +0100
commit45b8ef0342b4254844cd46d5b94b10972ea9eec7 (patch)
tree56b1feb49b2e62c317d4aa449f011f23ef94cc0c /cloudinit/sources/DataSourceOVF.py
parent4befa58fe77e53b4102f6b4aae241704efca2a14 (diff)
downloadvyos-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.py3
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"