Create the base Ubuntu 20.04 cloud image with code
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# The base VM was downloaded using the following commands:
|
||||
# mkdir /var/lib/libvirt/images/base
|
||||
# curl -o http://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64-disk-kvm.img /var/lib/libvirt/images/base/ubuntu-20.04-server-cloudimg-amd64-disk-kvm.qcow2
|
||||
# chown -R libvirt-qemu:root /var/lib/libvirt/images/base
|
||||
|
||||
if [[ $# -eq 0 ]] ; then
|
||||
echo 'USAGE: create_vm VMNAME'
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user