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

. ../functions.sh


cat config.txt > "$FS/boot/config.txt"
pkg_install \
	python \
	python-pyaml \
	python-aiohttp \
	python-raspberry-gpio \
	mjpg-streamer-pikvm \
	nginx

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