Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

box.ovf not read properly by VirtualBox #393

Open
marcindulak opened this issue Dec 27, 2016 · 2 comments
Open

box.ovf not read properly by VirtualBox #393

marcindulak opened this issue Dec 27, 2016 · 2 comments

Comments

@marcindulak
Copy link

https://atlas.hashicorp.com/centos/boxes/7 is not read properly by VirtualBox, as seen by 'IDE Controller' and other settings defined in box.ovf missing when loading into VirtualBox.
Importing https://atlas.hashicorp.com/puppetlabs/boxes/centos-7.2-64-puppet works properly.

Affected systems

OS X 10.11.6
VirtualBox 5.1.10 r112026 (Qt5.6.2)

Ubuntu 14.04
VirtualBox 5.1.10r112026, 5.1.12r112440

The issue has been discussed at https://lists.centos.org/pipermail/centos-devel/2016-December/015433.html and hashicorp/vagrant#8105

How to reproduce

$ xmllint --format ~/.vagrant.d/boxes/centos-VAGRANTSLASH-7/1611.01/virtualbox/box.ovf | grep -E 'Order|(StorageController )'
      <ns0:Order device="HardDisk" position="1"/>
      <ns0:Order device="DVD" position="2"/>
      <ns0:Order device="None" position="3"/>
      <ns0:Order device="None" position="4"/>
    <ns0:StorageController Bootable="true" PortCount="2" name="IDE Controller" type="PIIX4" useHostIOCache="true">

$ vboxmanage import ~/.vagrant.d/boxes/centos-VAGRANTSLASH-7/1611.01/virtualbox/box.ovf
$ vboxmanage showvminfo --machinereadable centos-7-1-1.x86_64 | grep -E 'storagecontrollername0|(boot.=)'
boot1="floppy"
boot2="dvd"
boot3="disk"
boot4="none"
storagecontrollername0="IDE"

$ xmllint --format ~/.vagrant.d/boxes/puppetlabs-VAGRANTSLASH-centos-7.2-64-puppet/1.0.1/virtualbox/box.ovf | grep -E 'Order|(StorageController )'
      <Order position="1" device="HardDisk"/>
      <Order position="2" device="DVD"/>
      <Order position="3" device="None"/>
      <Order position="4" device="None"/>
    <StorageController name="IDE Controller" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
$ vboxmanage import ~/.vagrant.d/boxes/puppetlabs-VAGRANTSLASH-centos-7.2-64-puppet/1.0.1/virtualbox/box.ovf
$ vboxmanage showvminfo --machinereadable packer-centos-7.2-x86_64-virtualbox-vagrant-puppet-1457544893 | grep -E 'storagecontrollername0|(boot.=)'
boot1="disk"
boot2="dvd"
boot3="none"
boot4="none"
storagecontrollername0="IDE Controller"
@marcindulak
Copy link
Author

ping

@marcindulak
Copy link
Author

Reported also at https://www.virtualbox.org/ticket/16387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant