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
Thanks, Mathieu FRAPPIER. Your solution works for me. But network share
is not mounted at first, need to reboot the machine again to see the
network share.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
For the past months I've installed Ubuntu 14.04 server by using
kickstart. In the post-part of the kickstart-script I lounche a shell-
script that do some system config, everything has worked fine so fare.
Now I've started testing 14.04 and there is one thing that do not work
the same way as in
Here is a quick and dirty workaround to put into a snippet in the
preseed_late execution:
cp /etc/network/interfaces /etc/network/interfaces.orig
echo mv /etc/network/interfaces.orig /etc/network/interfaces ifup -a sed
-i '/fixnet.sh/d' /etc/rc.local rm -f /fixnet.sh /fixnet.sh
sed -i '/exit
** Tags added: scale
--
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:
I was wrong the issue can't be fixed using this line:
d-i netcfg/target_network_config select ifupdown
--
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
To avoid this issue you need to add the following line to
/var/lib/cobbler/kickstarts/ubuntu-amd64.preseed:
d-i netcfg/target_network_config select ifupdown
I've added the line as 16 string.
build 6.1-192
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
I tried adding d-i netcfg/target_network_config string ifupdown to my
preseed file, but I'm still getting /etc/network/interfaces being
overwritten by the trusty netboot installer.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
it seems that this bug is still there ?
Any ideas about this ?
--
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
This bug was fixed in the package netcfg - 1.119ubuntu1
---
netcfg (1.119ubuntu1) utopic; urgency=medium
* Resynchronise with Debian. Remaining changes:
- Set default hostname to 'ubuntu'.
- Set priority for get_domain to high for static configurations.
- Set priority
10 matches
Mail list logo