diff --git a/examples/orbiter/static/kvm/machine.sh b/examples/orbiter/static/kvm/machine.sh index 629a7292f..0f853f407 100755 --- a/examples/orbiter/static/kvm/machine.sh +++ b/examples/orbiter/static/kvm/machine.sh @@ -5,9 +5,9 @@ ORBITER_BOOTSTRAP_PUBLICKEY="$(cat $2)" envsubst < $1 > /tmp/ks.cfg virt-install \ --virt-type kvm \ --os-type linux \ - --os-variant rhel7 \ + --os-variant ubuntu20.04 \ --disk size=10 \ - --location 'http://mirror.init7.net/centos/7.9.2009/os/x86_64/' \ + --location 'http://mirror.init7.net/ubuntu-releases/20.04/ubuntu-20.04.4-live-server-amd64.iso' \ --initrd-inject=/tmp/ks.cfg \ --memory 4096 \ --vcpus 2 \ diff --git a/examples/orbiter/static/kvm/ubuntu18.04.sh b/examples/orbiter/static/kvm/ubuntu18.04.sh new file mode 100755 index 000000000..2caa4ecb7 --- /dev/null +++ b/examples/orbiter/static/kvm/ubuntu18.04.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +ORBITER_BOOTSTRAP_PUBLICKEY="$(cat $2)" envsubst < $1 > /tmp/ks.cfg + +virt-install \ + --virt-type kvm \ + --os-type linux \ + --os-variant ubuntu18.04 \ + --disk size=10 \ + --location 'http://mirror.init7.net/ubuntu/dists/bionic/main/installer-amd64/' \ + --initrd-inject=/tmp/ks.cfg \ + --memory 4096 \ + --vcpus 2 \ + --nographics \ + --extra-args "console=ttyS0 ks=file:/ks.cfg" \ + --name $3