Skip to content

Instantly share code, notes, and snippets.

View haphan's full-sized avatar
☁️
Up in the cloud

Ha Phan haphan

☁️
Up in the cloud
  • Google, Inc.
  • Sydney, Australia
  • 20:38 (UTC +11:00)
View GitHub Profile
@smoser
smoser / ubuntu-cloud-virtualbox.sh
Last active July 5, 2024 09:33
example of using Ubuntu cloud images with virtualbox
## Install necessary packages
$ sudo apt-get install virtualbox-ose qemu-utils genisoimage cloud-utils
## get kvm unloaded so virtualbox can load
$ sudo modprobe -r kvm_amd kvm_intel
$ sudo service virtualbox stop
$ sudo service virtualbox start
## URL to most recent cloud image of 12.04
$ img_url="http://cloud-images.ubuntu.com/server/releases/12.04/release"