36 lines
554 B
Bash
Executable File
36 lines
554 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="lts" size=4G setup
|
|
|
|
addpkg \
|
|
openssh-server \
|
|
libvirt \
|
|
libvirt-qemu \
|
|
libvirt-client \
|
|
qemu \
|
|
qemu-audio-spice \
|
|
qemu-chardev-spice \
|
|
qemu-hw-display-qxl \
|
|
qemu-hw-display-virtio-vga \
|
|
qemu-hw-usb-host \
|
|
qemu-hw-usb-redirect \
|
|
qemu-img \
|
|
qemu-system-x86_64 \
|
|
qemu-ui-spice-core \
|
|
swtpm
|
|
|
|
addtty ttyS0
|
|
addsvc bundle.core bundle.net bundle.libvirt bundle.tty sshd.1
|
|
addsshkey "$DIR"/id_ed25519.pub
|
|
|
|
pack
|