mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update debian-v3.sh
This commit is contained in:
		
							parent
							
								
									52604ccdc0
								
							
						
					
					
						commit
						ec03ccf08e
					
				| 
						 | 
				
			
			@ -339,13 +339,13 @@ export PCT_OPTIONS="
 | 
			
		|||
  -unprivileged $CT_TYPE
 | 
			
		||||
  $PW
 | 
			
		||||
"
 | 
			
		||||
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit
 | 
			
		||||
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/dev/ct/create_lxc.sh)" || exit
 | 
			
		||||
 | 
			
		||||
msg_info "Starting LXC Container"
 | 
			
		||||
pct start $CTID
 | 
			
		||||
msg_ok "Started LXC Container"
 | 
			
		||||
 | 
			
		||||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/dev/setup/$var_install.sh)" || exit
 | 
			
		||||
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue