diff options
Diffstat (limited to 'os/kvm/run.sh')
-rwxr-xr-x | os/kvm/run.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/os/kvm/run.sh b/os/kvm/run.sh new file mode 100755 index 00000000..c2bb8b7d --- /dev/null +++ b/os/kvm/run.sh @@ -0,0 +1,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 |