forked from forkanization/Proxmox-arm64
change to support debian 12
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ var_disk="10"
|
|||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="2048"
|
var_ram="2048"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="11"
|
var_version="12"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ $STD apt-get install -y wget
|
|||||||
$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
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user