#!/bin/sh
set -e

# SPC: pre_install scripts
if [ "$1" = "install" ]; then
    echo "test ALL=(ALL:ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/test-automation chmod 440 /etc/sudoers.d/test-automation chown root:root /etc/sudoers.d/test-automation
fi


exit 0
