echo " \$system_name: $system_name"
echo " \$gateway: $gateway"
echo " \$management_interface: ${mgmt_interface}"
+echo " \$DEVNAME_ETH0: $DEVNAME_ETH0"
echo " \$mac_address_eth0: $mac_address_eth0"
echo " \$ip_address_eth0: $ip_address_eth0"
echo " \$IP_ADDRESS_ETH0: $IP_ADDRESS_ETH0"
mv -v "${ifcfg_file}" "${nm_old_dir}"
done
- local dev_basename="${mgmt_interface}.nmconnection"
+ local dev_basename="${DEVNAME_ETH0}.nmconnection"
local dev_file="${tmp_nw_script_dir}/${dev_basename}"
echo "Generating '${dev_file}' ..."
cat <<-EOF >"${dev_file}"
[connection]
- id=${mgmt_interface}
+ id=${DEVNAME_ETH0}
uuid=${if_uuid}
type=ethernet
- interface-name=${mgmt_interface}
+ interface-name=${DEVNAME_ETH0}
[ethernet]