summaryrefslogtreecommitdiff
path: root/doc/sources/ovf
diff options
context:
space:
mode:
authorMegian <gabisoft@freesurf.ch>2022-01-18 17:10:17 +0100
committerGitHub <noreply@github.com>2022-01-18 10:10:17 -0600
commit45484c0b05d39461500212481e2466155dd1e210 (patch)
treeffbbd9d29b443a141f46d818d9fa324333e93a01 /doc/sources/ovf
parent62f82651f2c29db5934f16afcb9f1e522f90588a (diff)
downloadvyos-cloud-init-45484c0b05d39461500212481e2466155dd1e210.tar.gz
vyos-cloud-init-45484c0b05d39461500212481e2466155dd1e210.zip
Add DatasourceOVF network-config propery to Ubuntu OVF example (#1184)
Cloud-init includes the capability to take the network-config from a separate key. This removes the need to merge the network config in the user-data and make it more transparent in some cases. Reference: https://github.com/canonical/cloud-init/blob/42b938e8ff4c50833ff7b8f5acc1d9ab3f43ab18/cloudinit/sources/DataSourceOVF.py#L557
Diffstat (limited to 'doc/sources/ovf')
-rw-r--r--doc/sources/ovf/example/ubuntu-server.ovf4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/sources/ovf/example/ubuntu-server.ovf b/doc/sources/ovf/example/ubuntu-server.ovf
index 846483a1..d61adf35 100644
--- a/doc/sources/ovf/example/ubuntu-server.ovf
+++ b/doc/sources/ovf/example/ubuntu-server.ovf
@@ -48,6 +48,10 @@
<Label>Default User's password</Label>
<Description>If set, the default user's password will be set to this value to allow password based login. The password will be good for only a single login. If set to the string 'RANDOM' then a random password will be generated, and written to the console.</Description>
</Property>
+ <Property ovf:key="network-config" ovf:type="string" ovf:userConfigurable="true">
+ <Label>Encoded network-config</Label>
+ <Description>This field is optional. The value for network-config has to be base64 encoded.</Description>
+ </Property>
</ProductSection>
<VirtualHardwareSection>
<Info>Virtual hardware requirements</Info>