diff options
Diffstat (limited to 'heat/cloudinit/boothook.sh')
-rw-r--r-- | heat/cloudinit/boothook.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/heat/cloudinit/boothook.sh b/heat/cloudinit/boothook.sh new file mode 100644 index 000000000..f7d46a7f5 --- /dev/null +++ b/heat/cloudinit/boothook.sh @@ -0,0 +1,7 @@ +#!/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 |