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:08]
mantis
virtualisation [2020/02/13 11:47] (current)
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 ==== ==== vmbuilder ====
Line 43: 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 56: 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.1581588512.txt.gz · Last modified: 2020/02/13 11:08 by mantis