mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +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 /
|
@ pct-push-r $ID ./assets /
|
||||||
@ lxc-attach $ID -- chmod +x /root/getFreeClientIP
|
@ lxc-attach $ID -- chmod +x /root/getFreeClientIP
|
||||||
|
|
||||||
#echo "# Setup: wireguard server..."
|
echo "# Setup: wireguard server and client profile..."
|
||||||
@ lxc-attach $ID -- bash -c "cd /root && make server"
|
|
||||||
|
|
||||||
echo "# Setup: wireguard default profile..."
|
|
||||||
@ lxc-attach $ID -- bash -c "cd /root \
|
@ lxc-attach $ID -- bash -c "cd /root \
|
||||||
&& QRCODE=${QRCODE} make default.client"
|
&& QRCODE=${QRCODE} make server default.client"
|
||||||
|
|
||||||
echo "# client config:"
|
#echo "# client config:"
|
||||||
@ mkdir -p clients
|
#@ mkdir -p clients
|
||||||
@ pct pull $ID /etc/wireguard/clients/default.conf clients/default.conf
|
#@ pct pull $ID /etc/wireguard/clients/default.wg clients/default.conf
|
||||||
|
|
||||||
echo "# Post config..."
|
echo "# Post config..."
|
||||||
pctSet $ID "${OPTS_STAGE_2}" $REBOOT
|
pctSet $ID "${OPTS_STAGE_2}" $REBOOT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user