scripts/make-root/virt.sh

20 lines
314 B
Bash
Executable File

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