Skip to content

Commit

Permalink
Try out different ethnert pods
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jul 18, 2024
1 parent 82b8f58 commit 971d328
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/aws/eks/pod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN dnf install python3.11 -y
RUN dnf install python3.11-pip -y

COPY ./sockd /home/
COPY ./sockd.conf /etc/sockd.conf
COPY ./sockd_eks.conf /etc/sockd.conf
COPY ./vsockpx /home

COPY ./entrypoint.sh /home/
Expand Down
5 changes: 5 additions & 0 deletions scripts/aws/eks/pod/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ function terminate_old_enclave() {
fi
}

function debug() {
ls /run/systemd/network
}

function setup_vsockproxy() {
echo "setup_vsockproxy"
VSOCK_PROXY=${VSOCK_PROXY:-/home/vsockpx}
Expand Down Expand Up @@ -43,6 +47,7 @@ function run_enclave() {
}

terminate_old_enclave
debug
setup_vsockproxy
setup_dante
run_config_server
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@if180
external: eth0
user.notprivileged: ec2-user
clientmethod: none
socksmethod: none
Expand Down

0 comments on commit 971d328

Please sign in to comment.