fix: Don't use sudo
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 7s
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 7s
This commit is contained in:
parent
5d8d471dcd
commit
1b864a209c
1 changed files with 4 additions and 4 deletions
|
|
@ -19,15 +19,15 @@ jobs:
|
|||
- name: Setup Wireguard
|
||||
run: |
|
||||
echo "Installing Wireguard..."
|
||||
sudo apt install resolvconf
|
||||
sudo apt install wireguard
|
||||
apt install resolvconf
|
||||
apt install wireguard
|
||||
echo "Installing Wireguard ✅"
|
||||
echo "Configuring Wireguard..."
|
||||
echo "${{ secrets.WG_CONFIG }}" > /tmp/wg0.conf
|
||||
sudo chmod 600 wg0.conf
|
||||
chmod 600 wg0.conf
|
||||
echo "Configuring Wireguard ✅"
|
||||
echo "Starting Wireguard..."
|
||||
sudo wg-quick up /tmp/wg0.conf
|
||||
wg-quick up /tmp/wg0.conf
|
||||
echo "Started Wireguard ✅"
|
||||
|
||||
- name: OpenTofu fmt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue