Skip to content

Commit

Permalink
Use the SATA HDD controller for faster disk IO speeds on VirtualBox
Browse files Browse the repository at this point in the history
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",
  • Loading branch information
Irving Popovetsky authored and annawake committed Feb 25, 2015
1 parent a5a2028 commit 352cf87
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Dan <bodepd@gmail.com>
Dominic <dev@snowgarden.ch>
Guy Baconniere
Howard Roark <howie@codingcoop.org>
Irving Popovetsky <irving@getchef.com>
Lorenzo Villani <lvillani@develer.com>
Mischa Taylor <mischa@misheska.com>
Nick Galbreath <nickg@client9.com>
Expand Down
1 change: 1 addition & 0 deletions ubuntu1004-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1004.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1204-desktop.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"disk_size": 40960,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1204-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1204-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1204.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1404-desktop.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"disk_size": 40960,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1404-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1404-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1410.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum` }}",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1504-desktop.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"disk_size": 40960,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum_type": "none",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1504-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum_type": "none",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1504-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum_type": "none",
Expand Down
1 change: 1 addition & 0 deletions ubuntu1504.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"disk_size": 10140,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum_type": "none",
Expand Down

0 comments on commit 352cf87

Please sign in to comment.