Skip to content

Commit

Permalink
fix vmease for webvirtcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanson committed Mar 23, 2024
1 parent 68255cd commit 849cb62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/luci-app-webvirtcloud/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

include $(TOPDIR)/rules.mk

PKG_VERSION:=0.3.8-20231208-1
PKG_VERSION:=0.3.8-20230323-1
PKG_RELEASE:=

LUCI_TITLE:=LuCI support for webvirtcloud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ do_install() {
echo "docker pull ${IMAGE_NAME}"
docker pull ${IMAGE_NAME}
docker rm -f webvirtcloud
mkdir -p "$config"
rm -rf "$config/vmwebvirt"
cp /usr/sbin/vmeasedaemon "$config/vmwebvirt"

local cmd="docker run --restart=unless-stopped -d \
--cgroupns=host \
Expand All @@ -31,7 +34,7 @@ do_install() {
-v \"$config/dbconfig:/srv/webvirtcloud/dbconfig\" \
-v \"$config/libvirt:/etc/libvirt\" \
-v \"$config/images:/var/lib/libvirt/images\" \
-v /usr/sbin/vmeasedaemon:/usr/sbin/vmwebvirt \
-v \"$config/vmwebvirt:/usr/sbin/vmwebvirt\" \
-v /var/run/vmease:/srv/vmease \
-p $port:80 \
--privileged \
Expand Down Expand Up @@ -87,7 +90,6 @@ case ${ACTION} in
docker ${ACTION} webvirtcloud
;;
"stop")
/etc/init.d/vmease stop
docker ${ACTION} webvirtcloud
;;
"restart")
Expand Down

0 comments on commit 849cb62

Please sign in to comment.