solar/bootstrap/alpine/scripts/04sudoers.sh
Jedrzej Nowak 7325a9371d Minimal solar VM packer template
Alpine linux as a base, vbox and libvirt

Change-Id: Iaa37b1ae02b4b0d22fc01fbeff5c6ce96e0b2699
2016-05-05 15:30:41 +02:00

8 lines
143 B
Bash

set -eux
apk add sudo
adduser vagrant wheel
echo "Defaults exempt_group=wheel" > /etc/sudoers
echo "%wheel ALL=NOPASSWD:ALL" >> /etc/sudoers