scripts/make-root/virtual.sh

20 lines
299 B
Bash
Executable File

#!/bin/sh
# Exit on any errors
set -e
DIR="$(dirname "$0")"
. "$DIR"/func.sh
depcheck
kextparam="console=ttyS0" kflav="virt" size=2G setup
addpkg qemu-guest-agent openssh-server
addtty ttyS0
addsvc bundle.core bundle.net bundle.virtual getty.ttyS0 sshd.1
addsshkey "$DIR"/id_ed25519.pub
pack