mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
pass web.css from testenv
This commit is contained in:
parent
9d543122ce
commit
2b8cc93362
2
Makefile
2
Makefile
@ -103,6 +103,7 @@ run: testenv $(TESTENV_GPIO)
|
||||
--privileged \
|
||||
--volume `pwd`/testenv/run:/run/kvmd:rw \
|
||||
--volume `pwd`/testenv:/testenv:ro \
|
||||
--volume `pwd`/testenv/web.css:/etc/kvmd/web.css:ro \
|
||||
--volume `pwd`/kvmd:/kvmd:ro \
|
||||
--volume `pwd`/testenv/env.py:/kvmd/env.py:ro \
|
||||
--volume `pwd`/web:/usr/share/kvmd/web:ro \
|
||||
@ -128,7 +129,6 @@ run: testenv $(TESTENV_GPIO)
|
||||
&& cp /usr/share/kvmd/configs.default/kvmd/main/$(if $(P),$(P),$(DEFAULT_PLATFORM)).yaml /etc/kvmd/main.yaml \
|
||||
&& mkdir -p /etc/kvmd/override.d \
|
||||
&& cp /testenv/$(if $(P),$(P),$(DEFAULT_PLATFORM)).override.yaml /etc/kvmd/override.yaml \
|
||||
&& cp /usr/share/kvmd/configs.default/kvmd/web.css /etc/kvmd \
|
||||
&& nginx -c /etc/kvmd/nginx/nginx.conf -g 'user http; error_log stderr;' \
|
||||
&& ln -s $(TESTENV_VIDEO) /dev/kvmd-video \
|
||||
&& ln -s $(TESTENV_GPIO) /dev/kvmd-gpio \
|
||||
|
||||
0
testenv/web.css
Normal file
0
testenv/web.css
Normal file
Loading…
x
Reference in New Issue
Block a user