-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Support disk type in VirtualBox builder #371
Comments
+1, this would be nice. @dpetzel Did you manage to get Packer/VirtualBox to present a SATA controller as the primary (only) one to the VM at boot time ? |
No I never got this working properly. I was able to add the SATA controllers, but it was not primary. So for me EL6 worked OK, however EL5 would hang post install reboot. I had to resort to noticing the hang (packer was waiting for sshd at this point), powering it off, deleting the IDE disk (leaving the controller for CDROM), and restarting. Fairly gross, so I'm hoping there is magic that can be worked. |
Yeah, for now I have to use a tweaked kickstarter script that uses |
It appears that this was taken care of in #391 and release in 0.3.7. I was able to sucessfully set |
Awesome, seems to work like a charm. |
Using "hard_drive_interface": "sata" only seems to then mount the hard drive image on SATA and does not mount the ISO on SATA interface as well. |
It appears the IDE controller is hard coded into the VirtualBox builder. Building a machine with a SATA (or other types for that matter), involves a series of non-intuitive vboxmanage commands. It would be nice to be able to specify some a disk type in the config.
Somewhat related... When constructing said series of vboxmanage commands, it would be nice if OutputDir was exposed as a template variable so you could easily put the different disk in the same location.
The text was updated successfully, but these errors were encountered: