mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-25 03:34:58 +00:00
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:
parent
ac484232f7
commit
e7ea0fbd37
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user