From e7ea0fbd37198f113dc8c04738615fdba6d47d4d Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Tue, 29 Nov 2016 15:19:09 +0000 Subject: [PATCH] Use shell to execute userdata /tmp is mounted `noexec`, just use the shell to execute the userdata. Signed-off-by: Justin Cormack --- alpine/packages/aws/etc/init.d/aws | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/alpine/packages/aws/etc/init.d/aws b/alpine/packages/aws/etc/init.d/aws index d7b7b4f7f..86910cc88 100755 --- a/alpine/packages/aws/etc/init.d/aws +++ b/alpine/packages/aws/etc/init.d/aws @@ -60,8 +60,7 @@ start() # TODO(nathanleclaire/kencochrane): Migrate this to mobyconfig, or similar. if [ $? -eq 0 ] then - chmod 755 /tmp/user-data - /tmp/user-data + sh /tmp/user-data fi eend 0