missing ovf property in ova templates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
New
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
* Tools with validation will refuse unknown ovf properties
* Unable to set network configuration with these tools
[ Test Plan ]
* Download an ova from https:/
* Open the ova with an editor or a tool to read ova files
* /Envelope/
[ Where problems could occur ]
* My case is Terraform Provider for VMware vSphere which validates ovf properties and refuse to deploy a virtual machine with "unsupported vApp properties".
[ Original description ]
There are missing ovf property in the generated ova cloud images available on https:/
For exemple: https:/
The only properties are "instance-id", "hostname", "seedfrom", "public-keys", "user-data" and "password".
But you can also set "network-config" (not in the list) which is used by cloud-init to configure the network.
Why is it a problem if I can just set it? Because some tools will do validation and prevent me from setting "network-config".
I could just modify the xml to add the missing property but I would have to automate it when it could be done in the upstream.
Also I don't know if there are more properties that are missing.
Is the request for essentially:
<Property ovf:key="password" ovf:type="string" ovf:userConfigu rable=" true" ovf:value="">
<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>
but for network? like
<Property ovf:key= "network- config" ovf:type="string" ovf:userConfigu rable=" true" ovf:value="">
<Label> Default network- config< /Label>
<Description >A totally relevant description. </Description>
</Property>
code link:
https:/ /git.launchpad. net/livecd- rootfs/ tree/live- build/ubuntu- cpc/hooks. d/base/ ovf/ubuntu- ova-v1- cloudcfg- vmdk.tmpl