diff options
author | zsdc <taras@vyos.io> | 2020-03-03 22:30:48 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2020-03-03 22:30:48 +0200 |
commit | 12584f04b710fd9dd6913dd790bb8bff9adfb212 (patch) | |
tree | 575bd1d63bda821989321b96eef6a0b7c5b19584 /scripts/template.ovf | |
parent | 6b6ef404083572054f33e98087c5bf77ad445c20 (diff) | |
download | vyos-build-12584f04b710fd9dd6913dd790bb8bff9adfb212.tar.gz vyos-build-12584f04b710fd9dd6913dd790bb8bff9adfb212.zip |
OVA: Fixed and extended OVA builds
- added grub2 package to the Dockerfile (required to build OVA)
- added open-vmdk to the Dockerfile (required to build OVA)
- fixed WAN/LAN confusion in OVF template
- added Cloud-init User-Data to the OVF template
Diffstat (limited to 'scripts/template.ovf')
-rw-r--r-- | scripts/template.ovf | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/scripts/template.ovf b/scripts/template.ovf index da81a36..46ded54 100644 --- a/scripts/template.ovf +++ b/scripts/template.ovf @@ -5,12 +5,12 @@ </References> <ovf:NetworkSection> <ovf:Info>The list of logical networks</ovf:Info> - <ovf:Network ovf:name="LAN"> - <ovf:Description>LAN network</ovf:Description> - </ovf:Network> <ovf:Network ovf:name="WAN"> <ovf:Description>WAN network</ovf:Description> </ovf:Network> + <ovf:Network ovf:name="LAN"> + <ovf:Description>LAN network</ovf:Description> + </ovf:Network> </ovf:NetworkSection> <DeploymentOptionSection> <Info>List of profiles</Info> @@ -53,7 +53,7 @@ <Label>Public key</Label> <Description>The public ssh key for the appliance 'vyos' account.</Description> </Property> - <Category>Appliance IPv4 Network Settings</Category> + <Category>Appliance IPv4 Network Settings (WAN interface)</Category> <Property ovf:key="local-hostname" ovf:qualifiers="MinLen(0),MaxLen(65535)" ovf:type="string" ovf:userConfigurable="true" ovf:value=""> <Label>Hostname</Label> <Description>The host name for this virtual machine.</Description> @@ -91,6 +91,10 @@ <Label>API debug logging</Label> <Description>Enable API debug logging</Description> </Property> + <Property ovf:key="user-data" ovf:type="string" ovf:userConfigurable="true" ovf:value=""> + <Label>Cloud-init User-Data</Label> + <Description>User-Data, encoded with base64.</Description> + </Property> </ProductSection> <ProductSection ovf:class="vm" ovf:required="false"> <Info>VM specific properties</Info> @@ -191,9 +195,9 @@ <ovf:Item> <rasd:AddressOnParent>7</rasd:AddressOnParent> <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation> - <rasd:Connection>LAN</rasd:Connection> - <rasd:Description>NIC representing LAN</rasd:Description> - <rasd:ElementName>LAN</rasd:ElementName> + <rasd:Connection>WAN</rasd:Connection> + <rasd:Description>NIC representing WAN</rasd:Description> + <rasd:ElementName>WAN</rasd:ElementName> <rasd:InstanceID>7</rasd:InstanceID> <rasd:ResourceSubType>vmxnet3</rasd:ResourceSubType> <rasd:ResourceType>10</rasd:ResourceType> @@ -201,9 +205,9 @@ <ovf:Item> <rasd:AddressOnParent>8</rasd:AddressOnParent> <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation> - <rasd:Connection>WAN</rasd:Connection> - <rasd:Description>NIC representing WAN</rasd:Description> - <rasd:ElementName>WAN</rasd:ElementName> + <rasd:Connection>LAN</rasd:Connection> + <rasd:Description>NIC representing LAN</rasd:Description> + <rasd:ElementName>LAN</rasd:ElementName> <rasd:InstanceID>8</rasd:InstanceID> <rasd:ResourceSubType>vmxnet3</rasd:ResourceSubType> <rasd:ResourceType>10</rasd:ResourceType> |