From 768481b24c1e69611a7eb91a64d4859cbd761123 Mon Sep 17 00:00:00 2001 From: Katherine Chen Date: Thu, 18 Jul 2024 15:12:22 +1000 Subject: [PATCH] Try eth0@if180 and debug with networkctl --- scripts/aws/eks/pod/entrypoint.sh | 3 ++- scripts/aws/eks/pod/sockd_eks.conf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/aws/eks/pod/entrypoint.sh b/scripts/aws/eks/pod/entrypoint.sh index 19726cd33..9483882f7 100644 --- a/scripts/aws/eks/pod/entrypoint.sh +++ b/scripts/aws/eks/pod/entrypoint.sh @@ -17,6 +17,7 @@ function terminate_old_enclave() { function debug() { ip link show + networkctl ls /run/systemd/network } @@ -47,7 +48,7 @@ function run_enclave() { nitro-cli run-enclave --cpu-count $CPU_COUNT --memory $MEMORY_MB --eif-path $EIF_PATH --enclave-cid $CID --enclave-name simple-eif --debug-mode --attach-console } -exec /lib/systemd/systemd +# exec /lib/systemd/systemd terminate_old_enclave debug setup_vsockproxy diff --git a/scripts/aws/eks/pod/sockd_eks.conf b/scripts/aws/eks/pod/sockd_eks.conf index 69c6264f8..dde08d4a9 100644 --- a/scripts/aws/eks/pod/sockd_eks.conf +++ b/scripts/aws/eks/pod/sockd_eks.conf @@ -1,5 +1,5 @@ internal: 127.0.0.1 port = 3306 -external: eth0 +external: eth0@if180 user.notprivileged: ec2-user clientmethod: none socksmethod: none