change to support debian 12

(cherry picked from commit fd5465f6737b466f10ddf435d1548e205043b09c)
This commit is contained in:
Sam Heinz 2024-06-14 19:02:02 +10:00
parent 415c4f4c17
commit a663a5ed4a
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ var_disk="10"
var_cpu="1" var_cpu="1"
var_ram="1028" var_ram="1028"
var_os="debian" var_os="debian"
var_version="11" var_version="12"
variables variables
color color
catch_errors catch_errors

View file

@ -21,7 +21,7 @@ $STD apt-get install -y mc
$STD apt-get install -y novnc $STD apt-get install -y novnc
$STD apt-get install -y xvfb $STD apt-get install -y xvfb
$STD apt-get install -y tigervnc-scraping-server $STD apt-get install -y tigervnc-scraping-server
$STD apt-get install -y openjdk-11-jdk $STD apt-get install -y openjdk-17-jdk
$STD apt-get install -y openbox $STD apt-get install -y openbox
$STD apt-get install -y net-tools $STD apt-get install -y net-tools
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
@ -72,7 +72,7 @@ After=x0vncserver.service network.target
[Service] [Service]
Type=simple Type=simple
WorkingDirectory=/usr/share/novnc WorkingDirectory=/usr/share/novnc
ExecStart=/usr/share/novnc/utils/launch.sh --vnc localhost:5901 ExecStart=/usr/bin/websockify 6080 --web /usr/share/novnc --wrap-mode=ignore :5901
Restart=always Restart=always
RestartSec=5 RestartSec=5