From b7e27bf6b45c2063d8372beea9b4187dc205e0f9 Mon Sep 17 00:00:00 2001 From: David Torcivia Date: Wed, 11 May 2016 18:24:43 -0400 Subject: [PATCH] Fix basic install for Proxmox LXC Fixed basic installer to properly bind to eth0 when install to a Proxmox LXC. --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index bf3d855a..528c46bf 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -43,7 +43,7 @@ IPv4dev=$(ip route get 8.8.8.8 | awk '{for(i=1;i<=NF;i++)if($i~/dev/)print $(i+1 IPv4addr=$(ip -o -f inet addr show dev "$IPv4dev" | awk '{print $4}' | awk 'END {print}') IPv4gw=$(ip route get 8.8.8.8 | awk '{print $3}') -availableInterfaces=$(ip -o link | awk '{print $2}' | grep -v "lo" | cut -d':' -f1) +availableInterfaces=$(ip -o link | awk '{print $2}' | grep -v "lo" | cut -d':' -f1 | cut -d'@' -f1) dhcpcdFile=/etc/dhcpcd.conf ######## FIRST CHECK ########