Add default /etc/hosts during occlum init
This commit is contained in:
parent
7b882bd368
commit
44583e15be
@ -112,6 +112,9 @@ cmd_init() {
|
||||
mkdir -p image/root
|
||||
mkdir -p image/host
|
||||
mkdir -p image/tmp
|
||||
# add default /etc/hosts
|
||||
mkdir -p image/etc
|
||||
echo "127.0.0.1 localhost" > image/etc/hosts
|
||||
|
||||
local occlum_gcc_lib=/usr/local/occlum/x86_64-linux-musl/lib
|
||||
cp -t image/lib/ \
|
||||
|
Loading…
Reference in New Issue
Block a user