OVF metadata for Ubuntu is wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Fix Released
|
Low
|
Chris Glass | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Trusty |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Fix Released
|
Low
|
Unassigned | ||
Yakkety |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
* Ubuntu images are identified generically as 32- or 64-bit Linux with a 2.6 kernel rather than Ubuntu 32-/64-bit images. Tools that consume the images can not perform OS-specific actions based on the current metadata.
[Test Case]
$ apt-get install virtualbox
$ wget http://
$ vboxmanage import --dry-run xenial-
...
Virtual system 0:
0: Suggested OS type: "Linux26_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
...
We would expect the following after the fix:
Virtual system 0:
0: Suggested OS type: "Ubuntu_64"
[Regression Potential]
* Low: A user downloads the image with the change and checks the OS type field to see that Ubuntu is a marked as a generic 2.6 kernel Linux image and now we will have changed "Linux26_*" to "Ubuntu_*".
[Original Description]
The OVF files produced by cloud-images currently contain:
<OperatingSyste
<Info>The kind of installed guest operating system</Info>
</OperatingSyst
The OVF specification has entries for Ubuntu, and that usually allows client machines to customize the host using whatever their method is.
The specific entries for Ubuntu 64 bits are:
- ovf:id: 94
- ovf:osType: ubuntu64Guest
The specific entries for Ubuntu 32 bits are:
- ovf:id: 93
- ovf:osType: ubuntu32Guest
Related branches
- Brian Murray: Needs Information
- Dan Watkins (community): Approve
- Robert C Jennings (community): Approve
- Philip Roche (community): Approve
-
Diff: 115 lines (+42/-11)4 files modifiedlive-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary (+20/-4)
live-build/ubuntu-cpc/hooks/042-vagrant.binary (+18/-5)
live-build/ubuntu-cpc/hooks/ovf/ubuntu-ova-v1-cloudcfg-vmdk.tmpl (+2/-1)
live-build/ubuntu-cpc/hooks/ovf/ubuntu-ova-v1-vmdk.tmpl (+2/-1)
Changed in cloud-images: | |
status: | New → In Progress |
importance: | Undecided → Low |
description: | updated |
Changed in livecd-rootfs (Ubuntu): | |
importance: | Undecided → Low |
Changed in livecd-rootfs (Ubuntu Xenial): | |
importance: | Undecided → Low |
Changed in livecd-rootfs (Ubuntu Yakkety): | |
importance: | Undecided → Low |
tags: | added: id-587c9d1faefa1389c5543492 |
tags: | added: id-5878c9543d41ce4c6dcad888 |
Changed in cloud-images: | |
status: | In Progress → Fix Released |
This bug is missing an Ubuntu package task which is necessary for the Stable Release Update process.