Skip to content

Commit

Permalink
Try eth0@if180 and debug with networkctl
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jul 18, 2024
1 parent 0f83737 commit 768481b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/aws/eks/pod/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function terminate_old_enclave() {

function debug() {
ip link show
networkctl
ls /run/systemd/network
}

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/aws/eks/pod/sockd_eks.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
internal: 127.0.0.1 port = 3306
external: eth0
external: eth0@if180
user.notprivileged: ec2-user
clientmethod: none
socksmethod: none
Expand Down

0 comments on commit 768481b

Please sign in to comment.