Commit 0d4ed329 authored by Ophélie Gagnard's avatar Ophélie Gagnard

installation: Fix interface bug in getting network

parent 4c373799
echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" > /etc/resolv.conf
ip a del dev %DEFAULT_INTERFACE% 10.42.42.42/32
ip a del dev eno1 10.42.42.42/32
ip a add dev %DEFAULT_INTERFACE% %DEFAULT_IP%/%DEFAULT_NETMASK_NUMBER%
ip r del default via 10.42.42.42 dev eno1
ip l set %DEFAULT_INTERFACE% up
......
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