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

Add hard_drive_interface option for VirtualBox builder #391

Merged
merged 2 commits into from
Sep 5, 2013

Conversation

jbronn
Copy link

@jbronn jbronn commented Sep 5, 2013

By default, Packer attaches the primary hard disk to an IDE controller. However, this is sub-optimal as IDE hard disks do not support asynchronous I/O. This PR introduces a new option, hard_drive_interface, that allows customization of the disk controller. At this time, it only accepts "sata", but could be expanded for more elaborate configurations in the future (e.g., SCSI/SAS).

@mitchellh
Copy link
Contributor

Perfect. I'm going to add a bit more validation but this looks good.

mitchellh added a commit that referenced this pull request Sep 5, 2013
builder/virtualbox: Add `hard_drive_interface` option
@mitchellh mitchellh merged commit 89a29e7 into hashicorp:master Sep 5, 2013
mitchellh added a commit that referenced this pull request Apr 28, 2014
builder/virtualbox: Add `hard_drive_interface` option
annawake pushed a commit to boxcutter/centos that referenced this pull request Feb 25, 2015
According to the virtualbox documentation:
Like a real SATA controller, VirtualBox's virtual SATA controller operates faster and also consumes fewer CPU resources than the virtual IDE controller. Also, this allows you to connect up to 30 virtual hard disks to one machine instead of just three, as with the VirtualBox IDE controller (with the DVD drive already attached).

This has been an option in Packer for a while now: hashicorp/packer#391
like so:

"hard_drive_interface": "sata",
annawake pushed a commit to boxcutter/ubuntu that referenced this pull request Feb 25, 2015
According to the virtualbox documentation:
Like a real SATA controller, VirtualBox's virtual SATA controller operates faster and also consumes fewer CPU resources than the virtual IDE controller. Also, this allows you to connect up to 30 virtual hard disks to one machine instead of just three, as with the VirtualBox IDE controller (with the DVD drive already attached).

This has been an option in Packer for a while now: hashicorp/packer#391
like so:

"hard_drive_interface": "sata",
annawake pushed a commit to boxcutter/oraclelinux that referenced this pull request Feb 25, 2015
According to the virtualbox documentation:
Like a real SATA controller, VirtualBox's virtual SATA controller operates faster and also consumes fewer CPU resources than the virtual IDE controller. Also, this allows you to connect up to 30 virtual hard disks to one machine instead of just three, as with the VirtualBox IDE controller (with the DVD drive already attached).

This has been an option in Packer for a while now: hashicorp/packer#391
like so:

"hard_drive_interface": "sata",
byplayer pushed a commit to byplayer/ubuntu that referenced this pull request Nov 1, 2017
According to the virtualbox documentation:
Like a real SATA controller, VirtualBox's virtual SATA controller operates faster and also consumes fewer CPU resources than the virtual IDE controller. Also, this allows you to connect up to 30 virtual hard disks to one machine instead of just three, as with the VirtualBox IDE controller (with the DVD drive already attached).

This has been an option in Packer for a while now: hashicorp/packer#391
like so:

"hard_drive_interface": "sata",
@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants