Allow usage in Distrobox
This commit is contained in:
parent
57ebe092ba
commit
285fde9b6c
|
@ -18,6 +18,8 @@ sudo apt update
|
||||||
|
|
||||||
if grep -Pq '^arm' <<< $(uname -m); then
|
if grep -Pq '^arm' <<< $(uname -m); then
|
||||||
sudo apt install -y wireguard wireguard-dkms wireguard-tools raspberrypi-kernel raspberrypi-kernel-headers resolvconf
|
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
|
else
|
||||||
sudo apt install -y wireguard wireguard-tools linux-headers-$(uname -r) resolvconf
|
sudo apt install -y wireguard wireguard-tools linux-headers-$(uname -r) resolvconf
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue