Added mount -a in your script and its working.

echo "mv /root/interfaces /etc/network/interfaces && ifup -a && sed -i 
'/fixnet.sh/d' /etc/rc.local && mount -a && rm -f /fixnet.sh" > /fixnet.sh
sed -i '/exit 0/ibash /fixnet.sh' /etc/rc.local
echo NM Disabled >> /root/finished.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1361902

Title:
  14.04 /etc/network/interfaces is always overwritten by Preseed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1361902/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to