diff options
| author | David Lönnhager <david.l@mullvad.net> | 2024-01-03 14:35:11 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2024-01-12 13:24:37 +0100 |
| commit | c25de4da4f09cd55b5209c985833beae0741ef21 (patch) | |
| tree | 42f863d58cc4a2007e16cb08f4a6d9dcab5a4cba /test/scripts | |
| parent | 7bcf10aeda49cbd0f34b523c0403146a4e07ce69 (diff) | |
| download | mullvadvpn-c25de4da4f09cd55b5209c985833beae0741ef21.tar.xz mullvadvpn-c25de4da4f09cd55b5209c985833beae0741ef21.zip | |
Add podman and docker to ssh-setup.sh
Diffstat (limited to 'test/scripts')
| -rw-r--r-- | test/scripts/ssh-setup.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/scripts/ssh-setup.sh b/test/scripts/ssh-setup.sh index bfe0b66f12..9ab1d895f5 100644 --- a/test/scripts/ssh-setup.sh +++ b/test/scripts/ssh-setup.sh @@ -105,9 +105,15 @@ fi setup_systemd +function install_packages_apt { + apt update + apt install -yf xvfb wireguard-tools curl + curl -fsSL https://get.docker.com | sh +} + # Install required packages if which apt &>/dev/null; then - apt install -f xvfb wireguard-tools + install_packages_apt elif which dnf &>/dev/null; then - dnf install -y xorg-x11-server-Xvfb wireguard-tools + dnf install -y xorg-x11-server-Xvfb wireguard-tools podman fi |
