diff --git a/luci-app-pve/Makefile b/luci-app-pve/Makefile index 7caa8a443..cc62fd964 100644 --- a/luci-app-pve/Makefile +++ b/luci-app-pve/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=8.3.2-20250105 +PKG_VERSION:=8.3.2-20250106 PKG_RELEASE:= LUCI_TITLE:=LuCI support for pve diff --git a/luci-app-pve/root/usr/libexec/istorec/pve.sh b/luci-app-pve/root/usr/libexec/istorec/pve.sh index 073ea0eba..5c7941f0d 100755 --- a/luci-app-pve/root/usr/libexec/istorec/pve.sh +++ b/luci-app-pve/root/usr/libexec/istorec/pve.sh @@ -12,6 +12,14 @@ do_install() { exit 1 fi + if [ -e /dev/kvm ]; then + echo "/dev/kvm exists" + else + echo "/dev/kvm does not exist" + sleep 3 + exit 2 + fi + local config=`uci get pve.@pve[0].config_path 2>/dev/null` local root_pwd=`uci get pve.@pve[0].root_pwd 2>/dev/null` local IMAGE_NAME=`uci get pve.@pve[0].image_name 2>/dev/null` @@ -42,12 +50,12 @@ do_install() { -v \"/var/run:/host/var/run\" \ -v \"$config/vz:/var/lib/vz\" \ -v \"$config/pve-cluster:/var/lib/pve-cluster\" \ - -v \"/dev/vfio:/dev/vfio\" \ --device /dev/kvm:/dev/kvm \ -p $port:8006 \ --dns=172.17.0.1 \ --dns=223.5.5.5 " + [ -e "/dev/vfio" ] && cmd="$cmd -v \"/dev/vfio:/dev/vfio\"" if [ -z "$tz" ]; then tz="`uci get system.@system[0].zonename | sed 's/ /_/g'`" fi diff --git a/v2ray-geodata/Makefile b/v2ray-geodata/Makefile index c2738cea8..2fcb8676d 100644 --- a/v2ray-geodata/Makefile +++ b/v2ray-geodata/Makefile @@ -30,13 +30,13 @@ define Download/geosite HASH:=aa65cee72dd6afbf9dd4c474b4ff28ceb063f6abf99249a084091adb4f282f09 endef -GEOSITE_IRAN_VER:=202412300035 +GEOSITE_IRAN_VER:=202501060036 GEOSITE_IRAN_FILE:=iran.dat.$(GEOSITE_IRAN_VER) define Download/geosite-ir URL:=https://github.com/bootmortis/iran-hosted-domains/releases/download/$(GEOSITE_IRAN_VER)/ URL_FILE:=iran.dat FILE:=$(GEOSITE_IRAN_FILE) - HASH:=a2c0b714f8d30bfeabb8933b4a322a9cbe7b9fe1a8c3ee36b9afbcced0a4e19f + HASH:=90cedfdb93e79823bd06df0196f8c223aed2409e03916c1f3eba100cec6a68d2 endef define Package/v2ray-geodata/template