mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-31 02:49:19 +00:00 
			
		
		
		
	Update unprivileged-node-red.sh
This commit is contained in:
		
							parent
							
								
									1b2ff619ac
								
							
						
					
					
						commit
						bca829ff68
					
				| @ -93,7 +93,7 @@ export PCT_OPTIONS=" | |||||||
|   -memory 1024 |   -memory 1024 | ||||||
|   -unprivileged 1 |   -unprivileged 1 | ||||||
| " | " | ||||||
| bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/unprev/create_lxc.sh)" || exit | bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/unpriv/create_lxc.sh)" || exit | ||||||
| 
 | 
 | ||||||
| STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}') | STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}') | ||||||
| if [ "$STORAGE_TYPE" == "zfspool" ]; then | if [ "$STORAGE_TYPE" == "zfspool" ]; then | ||||||
| @ -106,7 +106,7 @@ echo -e "${CM}${CL} \r" | |||||||
| 
 | 
 | ||||||
| alias lxc-cmd="lxc-attach -n $CTID --" | alias lxc-cmd="lxc-attach -n $CTID --" | ||||||
| 
 | 
 | ||||||
| bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/unprev/node-red-install.sh)" || exit | bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/unpriv/node-red-install.sh)" || exit | ||||||
| 
 | 
 | ||||||
| IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') | IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user