Created
January 4, 2014 13:27
-
-
Save torumakabe/8255339 to your computer and use it in GitHub Desktop.
Creare VirtualBox VM for HP Cloud OS Sandbox 1.20 admin node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
VBoxManage createvm --name "admin" --ostype Ubuntu_64 --register | |
VBoxManage modifyvm "admin" --cpus 1 | |
VBoxManage modifyvm "admin" --memory 4096 | |
VBoxManage modifyvm "admin" --nic1 hostonly | |
VBoxManage modifyvm "admin" --hostonlyadapter1 vboxnet0 | |
VBoxManage modifyvm "admin" --nictype1 Am79C973 | |
VBoxManage modifyvm "admin" --nicpromisc1 allow-all | |
VBoxManage modifyvm "admin" --nic2 intnet | |
VBoxManage modifyvm "admin" --intnet2 intnet | |
VBoxManage modifyvm "admin" --nictype2 Am79C973 | |
VBoxManage modifyvm "admin" --nicpromisc2 allow-all | |
VBoxManage modifyvm "admin" --nic3 hostonly | |
VBoxManage modifyvm "admin" --hostonlyadapter3 vboxnet1 | |
VBoxManage modifyvm "admin" --nictype3 Am79C973 | |
VBoxManage modifyvm "admin" --nicpromisc3 allow-all | |
VBoxManage modifyvm "admin" --nic4 bridged | |
VBoxManage modifyvm "admin" --bridgeadapter4 en0 | |
VBoxManage modifyvm "admin" --nictype4 Am79C973 | |
VBoxManage modifyvm "admin" --nicpromisc4 allow-all | |
VBoxManage createhd --filename ~/VirtualBox\ VMs/admin/admin.vdi --size 16000 | |
VBoxManage storagectl "admin" --name SATA --add sata | |
VBoxManage storageattach "admin" --storagectl SATA --port 0 --type hdd --medium ~/VirtualBox\ VMs/admin/admin.vdi | |
VBoxManage storagectl "admin" --name IDE --add ide | |
VBoxManage storageattach "admin" --storagectl IDE --port 0 --device 0 --type dvddrive --medium ~/Work/hpcloudos/HP_COS1.2/HP_Cloud_OS_Sandbox_1.2.iso | |
VBoxManage startvm "admin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment