mirror of
				https://github.com/flynx/proxmox-utils.git
				synced 2025-10-31 04:00:08 +00:00 
			
		
		
		
	fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									edddc8feb4
								
							
						
					
					
						commit
						a32e54bf6b
					
				| @ -111,7 +111,7 @@ echo Creating CT... | |||||||
| 
 | 
 | ||||||
| TEMPLATE=($(ls /var/lib/vz/template/cache/alpine-3.18*.tar.xz)) | TEMPLATE=($(ls /var/lib/vz/template/cache/alpine-3.18*.tar.xz)) | ||||||
| 
 | 
 | ||||||
| OPTS_STAGE_1=\ | OPTS_STAGE_1="\ | ||||||
| 	--hostname $CTHOSTNAME \ | 	--hostname $CTHOSTNAME \ | ||||||
| 	--memory 128 \ | 	--memory 128 \ | ||||||
| 	--swap 128 \ | 	--swap 128 \ | ||||||
| @ -119,10 +119,12 @@ OPTS_STAGE_1=\ | |||||||
| 	--net1 name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1,type=veth \ | 	--net1 name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1,type=veth \ | ||||||
| 	--storage local-lvm \ | 	--storage local-lvm \ | ||||||
| 	--rootfs local-lvm:0.5 \ | 	--rootfs local-lvm:0.5 \ | ||||||
| 	--unprivileged 1 | 	--unprivileged 1 \ | ||||||
|  | " | ||||||
| 
 | 
 | ||||||
| OPTS_STAGE_2=\ | OPTS_STAGE_2="\ | ||||||
| 	--net2 name=wan,bridge=vmbr${WAN_BRIDGE},firewall=1${WAN_GATE:+,gw=${WAN_GATE}}${WAN_IP:+,ip=${WAN_IP}},type=veth  | 	--net2 name=wan,bridge=vmbr${WAN_BRIDGE},firewall=1${WAN_GATE:+,gw=${WAN_GATE}}${WAN_IP:+,ip=${WAN_IP}},type=veth \ | ||||||
|  | " | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # NOTE: we are not setting the password here to avoid printing it to the terminal... | # NOTE: we are not setting the password here to avoid printing it to the terminal... | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user