Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit fe910a8

Browse files
committed
use ubuntu image
1 parent 61a76ea commit fe910a8

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

examples/orbiter/static/kvm/machine.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ ORBITER_BOOTSTRAP_PUBLICKEY="$(cat $2)" envsubst < $1 > /tmp/ks.cfg
55
virt-install \
66
--virt-type kvm \
77
--os-type linux \
8-
--os-variant rhel7 \
8+
--os-variant ubuntu20.04 \
99
--disk size=10 \
10-
--location 'http://mirror.init7.net/centos/7.9.2009/os/x86_64/' \
10+
--location 'http://mirror.init7.net/ubuntu-releases/20.04/ubuntu-20.04.4-live-server-amd64.iso' \
1111
--initrd-inject=/tmp/ks.cfg \
1212
--memory 4096 \
1313
--vcpus 2 \
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
ORBITER_BOOTSTRAP_PUBLICKEY="$(cat $2)" envsubst < $1 > /tmp/ks.cfg
4+
5+
virt-install \
6+
--virt-type kvm \
7+
--os-type linux \
8+
--os-variant ubuntu18.04 \
9+
--disk size=10 \
10+
--location 'http://mirror.init7.net/ubuntu/dists/bionic/main/installer-amd64/' \
11+
--initrd-inject=/tmp/ks.cfg \
12+
--memory 4096 \
13+
--vcpus 2 \
14+
--nographics \
15+
--extra-args "console=ttyS0 ks=file:/ks.cfg" \
16+
--name $3

0 commit comments

Comments
 (0)