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

Commit

Permalink
use ubuntu image
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof committed May 4, 2022
1 parent 61a76ea commit fe910a8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/orbiter/static/kvm/machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
16 changes: 16 additions & 0 deletions examples/orbiter/static/kvm/ubuntu18.04.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fe910a8

Please # to comment.