From 96528a57bd575486dd2ba930adcefdc46921a017 Mon Sep 17 00:00:00 2001 From: James Hackett Date: Sat, 18 Mar 2023 14:13:40 +0000 Subject: [PATCH] fix ip address command --- jobs/user-vms/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/user-vms/README.md b/jobs/user-vms/README.md index 6afb178..665fbfe 100644 --- a/jobs/user-vms/README.md +++ b/jobs/user-vms/README.md @@ -68,7 +68,7 @@ the address of a VM by checking the nomad alloc logs for that VM and searching f ```bash $ nomad job status distro-vm | grep "Node ID" -A 1 | tail -n 1 | cut -d " " -f 1 # -$ nomad alloc logs | grep -E "ens3.*global" +$ nomad alloc logs | grep -E "ens3.*global" | cut -d "|" -f 4 | xargs # cloud init... ens3: global ```