Skip to content

Instantly share code, notes, and snippets.

@yukihane
Created April 7, 2016 11:43
Show Gist options
  • Save yukihane/9ab87a71a5cbbd780c8c8a25b174b8e5 to your computer and use it in GitHub Desktop.
Save yukihane/9ab87a71a5cbbd780c8c8a25b174b8e5 to your computer and use it in GitHub Desktop.
http://success.tracpath.com/blog/2013/12/11/vboxmanage%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6vagrant-box%E3%82%92%E4%BD%9C%E6%88%90%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E7%AC%AC%EF%BC%91%E5%9B%9E%EF%BD%9Evboxmanage%E3%82%92%E4%BD%BF%E3%81%A3/
http://memo.saitodev.com/home/virtualbox/
--memory 1024 \
--firmware efi \
--cpus 2 \
--ostype RedHat_64 \
--nic1 nat \
VBoxManage modifyvm demo-sugitani --natpf1 ssh,tcp,,2022,,22 \
--natpf1 apserver,tcp,,8080,,8080 \
--paravirtprovider kvm \
--ioapic on \
VBoxManage storagectl demo-sugitani --name SATA --add sata --bootable on
VBoxManage storageattach demo-sugitani --storagectl SATA --port 1 --type hdd --medium rat.vdi
VBoxManage startvm demo-sugitani --type headless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment