One-KVM/os/kvm/run.sh
2018-06-27 23:21:55 +03:00

20 lines
286 B
Bash
Executable File

#!/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