mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-11-04 04:49:29 +00:00 
			
		
		
		
	Update adguard.sh
This commit is contained in:
		
							parent
							
								
									0d10f98edc
								
							
						
					
					
						commit
						3e975df752
					
				@ -122,6 +122,12 @@ function cleanup() {
 | 
			
		||||
  popd >/dev/null
 | 
			
		||||
  rm -rf $TEMP_DIR
 | 
			
		||||
}
 | 
			
		||||
 if [ "$IM" == "1" ]; then 
 | 
			
		||||
 FEATURES="nesting=1,keyctl=1,mknod=1"
 | 
			
		||||
 else
 | 
			
		||||
 FEATURES="nesting=1"
 | 
			
		||||
 fi
 | 
			
		||||
 | 
			
		||||
TEMP_DIR=$(mktemp -d)
 | 
			
		||||
pushd $TEMP_DIR >/dev/null
 | 
			
		||||
 | 
			
		||||
@ -130,7 +136,7 @@ export PCT_OSTYPE=debian
 | 
			
		||||
export PCT_OSVERSION=11
 | 
			
		||||
export PCT_DISK_SIZE=2
 | 
			
		||||
export PCT_OPTIONS="
 | 
			
		||||
  -features nesting=1
 | 
			
		||||
  -features $FEATURES
 | 
			
		||||
  -hostname adguard
 | 
			
		||||
  -net0 name=eth0,bridge=vmbr0,ip=dhcp
 | 
			
		||||
  -onboot 1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user