mirror of
				https://github.com/flynx/proxmox-utils.git
				synced 2025-10-31 04:00:08 +00:00 
			
		
		
		
	tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									01366f02a6
								
							
						
					
					
						commit
						4c3f7f8e50
					
				| @ -14,7 +14,7 @@ source ../.pct-helpers | |||||||
| #---------------------------------------------------------------------- | #---------------------------------------------------------------------- | ||||||
| 
 | 
 | ||||||
| # check dependencies... | # check dependencies... | ||||||
| would-like dig qrencode | would-like dig #qrencode | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| #---------------------------------------------------------------------- | #---------------------------------------------------------------------- | ||||||
| @ -91,7 +91,7 @@ echo "# Creating CT..." | |||||||
| pctCreateAlpine $ID "${OPTS_STAGE_1}" "$PASS" | pctCreateAlpine $ID "${OPTS_STAGE_1}" "$PASS" | ||||||
| 
 | 
 | ||||||
| echo "# Installing dependencies..." | echo "# Installing dependencies..." | ||||||
| @ lxc-attach $ID apk add iptables wireguard-tools-wg-quick make bind-tools | @ lxc-attach $ID apk add iptables wireguard-tools-wg-quick make bind-tools libqrencode-tools | ||||||
| 
 | 
 | ||||||
| echo "# Copying assets..." | echo "# Copying assets..." | ||||||
| @ pct-push-r $ID ./assets / | @ pct-push-r $ID ./assets / | ||||||
| @ -111,8 +111,8 @@ echo "# client config:" | |||||||
| if [ "$QRCODE" ] \ | if [ "$QRCODE" ] \ | ||||||
| 		&& which qrencode > /dev/null 2>&1 ; then | 		&& which qrencode > /dev/null 2>&1 ; then | ||||||
| 	echo "# default progile:" | 	echo "# default progile:" | ||||||
| 	cat clients/default.conf \ | 	#qrencode -t UTF8 -r clients/default.conf | ||||||
| 		| qrencode -f UTF8 | 	@ lxc-attach $ID -- qrencode -t UTF8 -r /etc/wireguard/clients/default.conf | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| #echo "# Setup: bridge device..." | #echo "# Setup: bridge device..." | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user