mirror of https://github.com/tteck/Proxmox.git
				
				
				
			change to support debian 12
(cherry picked from commit fd5465f6737b466f10ddf435d1548e205043b09c)
This commit is contained in:
		
							parent
							
								
									415c4f4c17
								
							
						
					
					
						commit
						a663a5ed4a
					
				| 
						 | 
				
			
			@ -22,7 +22,7 @@ var_disk="10"
 | 
			
		|||
var_cpu="1"
 | 
			
		||||
var_ram="1028"
 | 
			
		||||
var_os="debian"
 | 
			
		||||
var_version="11"
 | 
			
		||||
var_version="12"
 | 
			
		||||
variables
 | 
			
		||||
color
 | 
			
		||||
catch_errors
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,7 @@ $STD apt-get install -y mc
 | 
			
		|||
$STD apt-get install -y novnc
 | 
			
		||||
$STD apt-get install -y xvfb
 | 
			
		||||
$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 net-tools
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
| 
						 | 
				
			
			@ -72,7 +72,7 @@ After=x0vncserver.service network.target
 | 
			
		|||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
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
 | 
			
		||||
RestartSec=5
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue