Commit 02e01b91 authored by Cédric BRINER's avatar Cédric BRINER

construct_ug_static_ipv46: bug forgotten the '[Match]' declaration

parent b35ce46c
......@@ -124,7 +124,9 @@ function change_hostname
function construct_ug_static_ipv46
{
echo "Name=ens192"
dev_interface="$(ls -1 -- /sys/class/net/ | grep -vP '^docker\d*|^veth*|^lo$' | head -1)"
echo "[Match]"
echo "Name=${dev_interface}"
echo ""
echo "[Network]"
echo "DHCP=no"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment