mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 20:48:11 +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.
|
# TODO(nathanleclaire/kencochrane): Migrate this to mobyconfig, or similar.
|
||||||
if [ $? -eq 0 ]
|
if [ $? -eq 0 ]
|
||||||
then
|
then
|
||||||
chmod 755 /tmp/user-data
|
sh /tmp/user-data
|
||||||
/tmp/user-data
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
eend 0
|
eend 0
|
||||||
|
Loading…
Reference in New Issue
Block a user