Explorar o código

Update webmin.sh

tteckster %!s(int64=3) %!d(string=hai) anos
pai
achega
6be1f084d6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      misc/webmin.sh

+ 2 - 2
misc/webmin.sh

@@ -33,8 +33,8 @@ echo -en "${GN} Setting Default Webmin usermame & password to root... "
 /usr/share/webmin/changepass.pl /etc/webmin root root &>/dev/null
 rm -rf /root/webmin_1.984_all.deb
 echo -e "${CM}${CL} \r"
-
-echo -e    "${BL} Successfully Installed Webmin, Now Go To https://IP:10000 ${CL}"
+IP=$(hostname -I | cut -f1 -d ' ')
+echo -e    "${BL} Successfully Installed Webmin, Now Go To https://&{IP}:10000 ${CL}"
 
 
 # bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/webmin.sh)"