Skip to content

Commit

Permalink
Enable good USB
Browse files Browse the repository at this point in the history
We previously started to allow XHCI with them being included in the base
VirtualBox and no longer restrictively licensed; let's go ahead and
actually turn them on all the way after we're done with the initial
build. Even though it's unlikely too many things will get mapped into
the VM, it's nice to have a sensible and good default.
  • Loading branch information
laurelmay committed Jan 13, 2024
1 parent ab134a6 commit a147a71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packer/main.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ source "virtualbox-iso" "base-build" {
]
vboxmanage_post = [
["modifyvm", "{{.Name}}", "--nat-localhostreachable1", "off"],
["modifyvm", "{{.Name}}", "--usb-xhci", "on"],
["storageattach", "{{ .Name }}", "--storagectl", "VirtIO Controller", "--port", "1", "--type", "dvddrive", "--medium", "emptydrive"]
]
}
Expand Down

0 comments on commit a147a71

Please sign in to comment.