summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-28 08:31:37 +0300
committerDevaev Maxim <[email protected]>2019-04-28 08:31:37 +0300
commit0bde12e24ddb3aad02e9d39c031bb66b04bfd997 (patch)
treedfb3639a6b0f32242047677d580916ece046f7ba /Makefile
parent380b1d15e3c8fcb7cc324cebf209bfe38cbb4011 (diff)
ipmi bmc proxy
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3e19bd9f..2097f3df 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ tox: _testenv
--volume `pwd`/configs:/usr/share/kvmd/configs.default:ro \
-it $(TESTENV_IMAGE) bash -c " \
cp /usr/share/kvmd/configs.default/kvmd/*.yaml /etc/kvmd \
- && cp /usr/share/kvmd/configs.default/kvmd/htpasswd /etc/kvmd \
+ && cp /usr/share/kvmd/configs.default/kvmd/*passwd /etc/kvmd \
&& cp /src/testenv/main.yaml /etc/kvmd \
&& cd /src \
&& tox -c testenv/tox.ini $(if $(E), -e $(E), -p auto) \
@@ -107,11 +107,12 @@ _run_cmd: _testenv
--publish 8080:80/tcp \
--publish 8081:8081/tcp \
--publish 8082:8082/tcp \
+ --publish 6230:623/udp \
-it $(TESTENV_IMAGE) /bin/bash -c " \
(socat PTY,link=$(TESTENV_HID) PTY,link=/dev/ttyS11 &) \
&& cp -r /usr/share/kvmd/configs.default/nginx/* /etc/kvmd/nginx \
&& cp /usr/share/kvmd/configs.default/kvmd/*.yaml /etc/kvmd \
- && cp /usr/share/kvmd/configs.default/kvmd/htpasswd /etc/kvmd \
+ && cp /usr/share/kvmd/configs.default/kvmd/*passwd /etc/kvmd \
&& cp /testenv/main.yaml /etc/kvmd \
&& nginx -c /etc/kvmd/nginx/nginx.conf \
&& ln -s $(TESTENV_VIDEO) /dev/kvmd-video \