scripts/make-root/virt.sh

20 lines
314 B
Bash
Raw Permalink Normal View History

2024-10-05 18:03:38 +00:00
#!/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