mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 10:01:53 +08:00
os building environ
This commit is contained in:
19
os/kvm/run.sh
Executable file
19
os/kvm/run.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user