Use shell to execute userdata

/tmp is mounted `noexec`, just use the shell to execute the userdata.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-11-29 15:19:09 +00:00
parent ac484232f7
commit e7ea0fbd37

View File

@ -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