On 12/30/2016 12:19 AM, Philipp Kern wrote: > it needs to, yes. Otherwise you end up with the interface being > unmanaged from n-m, despite the n-m snippet having been written. I > suppose what we could do is just empty it out. At least trying that out > was successful for me. I also tested the non n-m case and that was fine.
I'd propose this on top of Martin's patch: > diff --git a/finish-install.d/55netcfg-copy-config > b/finish-install.d/55netcfg-copy-config > index f7271509..7e97ef22 100755 > --- a/finish-install.d/55netcfg-copy-config > +++ b/finish-install.d/55netcfg-copy-config > @@ -58,6 +58,10 @@ case $RET in > # Copy NM config file. First make sure the directory exists > mkdir -p /target/$FILE_PATH_NM_CONFIG > cp /$FILE_PATH_NM_CONFIG/* /target/$FILE_PATH_NM_CONFIG/ > + > + # Empty out the generated /etc/network/interfaces to let it be > + # managed by NM. > + echo "# Networking managed by network-manager." > > /target$FILE_INTERFACES > ;; > > $CONFIG_LOOPBACK) Does that sound reasonable? Kind regards Philipp Kern
signature.asc
Description: OpenPGP digital signature