mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f6fbb2eec4
commit
9472f995a0
@ -100,16 +100,13 @@ echo "# Copying assets..."
|
||||
@ pct-push-r $ID ./assets /
|
||||
@ lxc-attach $ID -- chmod +x /root/getFreeClientIP
|
||||
|
||||
#echo "# Setup: wireguard server..."
|
||||
@ lxc-attach $ID -- bash -c "cd /root && make server"
|
||||
|
||||
echo "# Setup: wireguard default profile..."
|
||||
echo "# Setup: wireguard server and client profile..."
|
||||
@ lxc-attach $ID -- bash -c "cd /root \
|
||||
&& QRCODE=${QRCODE} make default.client"
|
||||
&& QRCODE=${QRCODE} make server default.client"
|
||||
|
||||
echo "# client config:"
|
||||
@ mkdir -p clients
|
||||
@ pct pull $ID /etc/wireguard/clients/default.conf clients/default.conf
|
||||
#echo "# client config:"
|
||||
#@ mkdir -p clients
|
||||
#@ pct pull $ID /etc/wireguard/clients/default.wg clients/default.conf
|
||||
|
||||
echo "# Post config..."
|
||||
pctSet $ID "${OPTS_STAGE_2}" $REBOOT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user