User Tools

Site Tools


virtualisation

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
virtualisation [2020/02/13 11:07]
mantis [Trusty KVM, 64bit]
virtualisation [2020/02/13 11:47]
mantis [vmbuilder]
Line 18: Line 18:
  
 ===== With Ubuntu already installed ===== ===== With Ubuntu already installed =====
 +
 +==== virt-install ====
 +
 +https://​www.server-world.info/​en/​note?​os=Ubuntu_18.04&​p=kvm&​f=2
 +
 +
 +==== vmbuilder ====
 +
 If you want to create an **Ubuntu** VM you can use a shortcut (found here: https://​help.ubuntu.com/​8.04/​serverguide/​C/​ubuntu-vm-builder.html). Install If you want to create an **Ubuntu** VM you can use a shortcut (found here: https://​help.ubuntu.com/​8.04/​serverguide/​C/​ubuntu-vm-builder.html). Install
  
Line 40: Line 48:
  
  
-==== Lucid KVM, 64bit ====+=== Lucid KVM, 64bit ===
 <code bash> <code bash>
 sudo vmbuilder kvm ubuntu --arch=amd64 --suite=lucid --addpkg vim --addpkg openssh-server --addpkg man --mem 1024 --rootsize=2048 sudo vmbuilder kvm ubuntu --arch=amd64 --suite=lucid --addpkg vim --addpkg openssh-server --addpkg man --mem 1024 --rootsize=2048
 </​code>​ </​code>​
  
-==== Trusty KVM, 64bit ====+=== Trusty KVM, 64bit ===
 There is currently a bug which causes KVM building to fail under trusty (14.04). It is easily fixed by explicitly adding the parameter "​--addpkg linux-image-generic"​ to the command: ​ There is currently a bug which causes KVM building to fail under trusty (14.04). It is easily fixed by explicitly adding the parameter "​--addpkg linux-image-generic"​ to the command: ​
  
Line 53: Line 61:
  
  
-==== Bionic ​====+=== Bionic ===
  
 <code bash> <code bash>
-virt-builder ubuntu-18.04 --format qcow2 --size 20G -o ubuntu1804.qcow2 --root-password password:ubuntu+sudo virt-builder ubuntu-18.04 --format qcow2  -o ubuntu1804.qcow2 --root-password password:xxx --install ​ net-tools,​ntp,​openssh-server 
 </​code>​ </​code>​
  
virtualisation.txt · Last modified: 2020/02/13 11:47 by mantis