From 85894f9a06766d6b4753a34511df04cfe09fc218 Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Fri, 9 Feb 2024 15:23:14 +0100 Subject: [PATCH] fix ens interfaces matching (#9) --- talos-bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talos-bootstrap b/talos-bootstrap index 0b5186e..5dfaf4a 100755 --- a/talos-bootstrap +++ b/talos-bootstrap @@ -221,7 +221,7 @@ disks_list=$(talosctl -e "${node}" -n "${node}" disks ${OPTS} | awk 'NR>1 {sub(/ disk=$(echo "${disks_list}" | dialog --keep-tite --title talos-bootstrap --menu "Select disk to install" 0 0 0 --file /dev/stdin 3>&1 1>&2 2>&3) || exit 0 # Screen: Select interface -link_list=$(talosctl -e "${node}" -n "${node}" get link ${OPTS} | awk -F' +' 'NR>1 && $4 ~ /^(ID|eno|eth|enp|enx)/ {print $4 "|" $(NF-2)}') +link_list=$(talosctl -e "${node}" -n "${node}" get link ${OPTS} | awk -F' +' 'NR>1 && $4 ~ /^(ID|eno|eth|enp|enx|ens)/ {print $4 "|" $(NF-2)}') address_list=$(talosctl -e "${node}" -n "${node}" get addresses ${OPTS} | awk 'NR>1 {print $NF " " $(NF-1)}') || exit 0 interface_list=$(