heat/heat/cloudinit/boothook.sh

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