diff options
-rw-r--r-- | snippets/pre_install_network_config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snippets/pre_install_network_config b/snippets/pre_install_network_config index bcfa350d..c45ffd07 100644 --- a/snippets/pre_install_network_config +++ b/snippets/pre_install_network_config @@ -75,7 +75,7 @@ #set $netinfo = "%s --hostname=%s" % ($netinfo, $ihostname) #end if # Configuring $iname ($mac) -if ifconfig | grep -i $mac +if ifconfig -a | grep -i $mac then IFNAME=\$(ifconfig -a | grep -i '$mac' | cut -d " " -f 1) echo "network --device=\$IFNAME $netinfo" >> /tmp/pre_install_network_config |