From de21b5f26ac36a69f1da0a3a0512e87c7705c0ae Mon Sep 17 00:00:00 2001 From: "Marc S. Brooks" Date: Mon, 11 Sep 2023 13:04:41 -0700 Subject: [PATCH] Updated NET_DEV to default: ens5 --- user-data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-data.sh b/user-data.sh index 130e9df..501ddf2 100644 --- a/user-data.sh +++ b/user-data.sh @@ -14,7 +14,7 @@ MAX_PLAYERS=10 # Network device (Linux 1/2: eth0 | Linux 2023: ens5) -NET_DEV="eth0" +NET_DEV="ens5" IP_ADDR=`curl http://169.254.169.254/latest/meta-data/public-ipv4` HOSTNAME=`curl http://169.254.169.254/latest/meta-data/local-hostname`