postinst 507 字节
Newer Older
H
haosanzi 已提交
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh

SHIM_CONFIG_DIR=/etc/inclavare-containers

mkdir -p $SHIM_CONFIG_DIR
cat << EOF > $SHIM_CONFIG_DIR/config.toml
log_level = "info" # "debug" "info" "warn" "error"
sgx_tool_sign = "/opt/intel/sgxsdk/bin/x64/sgx_sign"
[containerd]
    socket = "/run/containerd/containerd.sock"
[enclave_runtime]
    [enclave_runtime.occlum]
13 14
        build_image = "docker.io/occlum/occlum:0.14.0-ubuntu18.04"
        enclave_runtime_path = "/opt/occlum/build/lib/libocclum-pal.so"
H
haosanzi 已提交
15 16
    [enclave_runtime.graphene]
EOF