We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c2_ubuntu_cloud [2016/05/30 14:04]
brian.kim [Running Ubuntu 16.04 Cloud image using KVM/ARM]
en:c2_ubuntu_cloud [2017/07/20 08:21] (current)
luke.go [How do you increase a guest's disk size?]
Line 37: Line 37:
 odroid@odroid64:​~$ sudo apt install -y qemu qemu-utils cloud-utils odroid@odroid64:​~$ sudo apt install -y qemu qemu-utils cloud-utils
 </​code>​ </​code>​
-Download BIOS and Ubuntu 16.06 cloud images.+Download BIOS and Ubuntu 16.04 cloud images.
 <​code>​ <​code>​
 odroid@odroid64:​~$ wget https://​releases.linaro.org/​components/​kernel/​uefi-linaro/​15.12/​release/​qemu64/​QEMU_EFI.fd odroid@odroid64:​~$ wget https://​releases.linaro.org/​components/​kernel/​uefi-linaro/​15.12/​release/​qemu64/​QEMU_EFI.fd
Line 43: Line 43:
 </​code>​ </​code>​
  
-===== Setting & Running Ubuntu 16.06 Cloud =====+===== Setting & Running Ubuntu 16.04 Cloud =====
 Cloud images are plain - there is no user setup, no default user/​password combo, so to log in to the image, we need to customize the image on first boot. The defacto tool for this is [[http://​cloudinit.readthedocs.io/​en/​latest/​|cloud-init]]. The simplest method for using cloud-init is passing a block media with a settings file - of course for real cloud deployment, you would use one of fancy network based initialization protocols cloud-init supports. Enter the following to a file, say cloud.txt: Cloud images are plain - there is no user setup, no default user/​password combo, so to log in to the image, we need to customize the image on first boot. The defacto tool for this is [[http://​cloudinit.readthedocs.io/​en/​latest/​|cloud-init]]. The simplest method for using cloud-init is passing a block media with a settings file - of course for real cloud deployment, you would use one of fancy network based initialization protocols cloud-init supports. Enter the following to a file, say cloud.txt:
  
Line 74: Line 74:
  
 {{ :​en:​kvm-arm.png?​1000 |Three Ubuntu 16.04 Cloud}} {{ :​en:​kvm-arm.png?​1000 |Three Ubuntu 16.04 Cloud}}
 +
 +==== How do you increase a guest'​s disk size? ====
 +  - Stop the VM
 +  - Run '​qemu-img resize <guest image> +10G' to increase image size by 10Gb
 +  - Start the VM, resize the partitions and LVM structure within it normally ​
  
 ===== References ===== ===== References =====
   * [[http://​forum.odroid.com/​viewtopic.php?​f=138&​t=19153|Related thread in ODROID forum]]   * [[http://​forum.odroid.com/​viewtopic.php?​f=138&​t=19153|Related thread in ODROID forum]]
   * [[http://​suihkulokki.blogspot.kr/​2016/​05/​booting-ubuntu-1604-cloud-images-on.html|Booting ubuntu 16.04 cloud images on Arm64]]   * [[http://​suihkulokki.blogspot.kr/​2016/​05/​booting-ubuntu-1604-cloud-images-on.html|Booting ubuntu 16.04 cloud images on Arm64]]
en/c2_ubuntu_cloud.1464586450.txt.gz ยท Last modified: 2016/05/30 14:04 by brian.kim
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0