mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
为 Docker 容器添加 kvmd 系列管理命令
This commit is contained in:
parent
eec64ef57c
commit
506d8a4a64
@ -35,7 +35,7 @@ RUN if [ ${TARGETARCH} = arm ]; then ARCH=armhf; elif [ ${TARGETARCH} = arm64 ];
|
|||||||
&& touch /run/kvmd/ustreamer.sock
|
&& touch /run/kvmd/ustreamer.sock
|
||||||
|
|
||||||
|
|
||||||
COPY testenv/fakes/vcgencmd /usr/bin/
|
COPY testenv/fakes/vcgencmd scripts/kvmd* /usr/bin/
|
||||||
COPY extras/ /usr/share/kvmd/extras/
|
COPY extras/ /usr/share/kvmd/extras/
|
||||||
COPY web/ /usr/share/kvmd/web/
|
COPY web/ /usr/share/kvmd/web/
|
||||||
COPY scripts/kvmd-gencert /usr/share/kvmd/
|
COPY scripts/kvmd-gencert /usr/share/kvmd/
|
||||||
|
|||||||
3
scripts/kvmd
Executable file
3
scripts/kvmd
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd / && python3 -m kvmd.apps.kvmd "$@"
|
||||||
3
scripts/kvmd-htpasswd
Executable file
3
scripts/kvmd-htpasswd
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd / && python3 -m kvmd.apps.htpasswd "$@"
|
||||||
3
scripts/kvmd-otg
Executable file
3
scripts/kvmd-otg
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd / && python3 -m kvmd.apps.otg "$@"
|
||||||
3
scripts/kvmd-otgconf
Executable file
3
scripts/kvmd-otgconf
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd / && python3 -m kvmd.apps.otgconf "$@"
|
||||||
3
scripts/kvmd-totp
Executable file
3
scripts/kvmd-totp
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd / && python3 -m kvmd.apps.totp "$@"
|
||||||
3
scripts/kvmd-vnc
Executable file
3
scripts/kvmd-vnc
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd / && python3 -m kvmd.apps.vnc "$@"
|
||||||
Loading…
x
Reference in New Issue
Block a user