summaryrefslogtreecommitdiff
path: root/os/kvm/run.sh
blob: 904fd3ef2b973183d0289657db6593be226004bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e
set -x

. ../functions.sh


cat config.txt > "$FS/boot/config.txt"
pkg_install \
	kvmd \
	mjpg-streamer-pikvm \
	nginx

cp index.html "$FS/srv/http/"
cp nginx.conf "$FS/etc/nginx/"
rpi systemctl enable kvmd
rpi systemctl enable nginx