diff --git a/test-nspawn b/test-nspawn index 3dc879f..9364a78 100755 --- a/test-nspawn +++ b/test-nspawn @@ -12,7 +12,7 @@ then elif [ $1 = 'run-tests' ] then apt update - apt install -y wget ca-certificates gnupg2 git ansible postgresql sudo python python3 + apt install -y wget ca-certificates gnupg2 git ansible postgresql sudo python3 id testuser || adduser --disabled-password --gecos "" testuser usermod -a -G sudo testuser grep -q testuser /etc/sudoers || echo 'testuser ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers