diff --git a/config/samples/ccruntime/base/ccruntime.yaml b/config/samples/ccruntime/base/ccruntime.yaml index 0fc4916a..9ddc2b6c 100644 --- a/config/samples/ccruntime/base/ccruntime.yaml +++ b/config/samples/ccruntime/base/ccruntime.yaml @@ -64,6 +64,9 @@ spec: path: /etc/systemd/system/ type: "" name: etc-systemd-system + environmentVariables: + - name: "SNAPSHOTTER" + value: "nydus" preInstall: image: quay.io/confidential-containers/container-engine-for-cc-payload volumeMounts: @@ -80,6 +83,9 @@ spec: path: /etc/systemd/system/ type: "" name: etc-systemd-system + environmentVariables: + - name: "SNAPSHOTTER" + value: "nydus" environmentVariables: - name: NODE_NAME valueFrom: diff --git a/install/pre-install-payload/scripts/container-engine-for-cc-deploy.sh b/install/pre-install-payload/scripts/container-engine-for-cc-deploy.sh index d74cb900..17e57f9f 100755 --- a/install/pre-install-payload/scripts/container-engine-for-cc-deploy.sh +++ b/install/pre-install-payload/scripts/container-engine-for-cc-deploy.sh @@ -121,6 +121,7 @@ function print_help() { } function main() { + echo "SNAPSHOTTER: ${SNAPSHOTTER}" # script requires that user is root local euid=$(id -u) if [ ${euid} -ne 0 ]; then