deb-heat/heat/cloudinit/boothook.sh
Jeff Peeler d665740935 Change executable file permissions for rpmlint
Fixes: Bug #1158009
Change-Id: I761debfb77be5cf5204af90a013d7f4f043fdb17
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2013-03-20 18:56:36 -04:00

8 lines
194 B
Bash
Executable File

#!/bin/bash
setenforce 0
useradd -m @INSTANCE_USER@
echo -e '@INSTANCE_USER@\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
# Do not remove - the cloud boothook should always return success
exit 0