Allow usage in Distrobox

This commit is contained in:
John Mertz 2023-10-05 18:36:53 +00:00
parent 57ebe092ba
commit 285fde9b6c
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ sudo apt update
if grep -Pq '^arm' <<< $(uname -m); then
sudo apt install -y wireguard wireguard-dkms wireguard-tools raspberrypi-kernel raspberrypi-kernel-headers resolvconf
elif [ -f "/run/.containerenv" ]; then
sudo apt install -y wireguard wireguard-tools resolvconf
else
sudo apt install -y wireguard wireguard-tools linux-headers-$(uname -r) resolvconf
fi