github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/examples/orbiter/static/kvm/machine.sh (about) 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 rhel7 \ 9 --disk size=10 \ 10 --location 'http://mirror.init7.net/centos/7.9.2009/os/x86_64/' \ 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