Seite 1 von 1
[SOLVED] debian.py fail with netplan
Verfasst: 09 Feb 2021, 15:17
von nicolaslebrun
Hello,
i had to add this line in debian.py (package debian_4.1.0.4-1)
line 298
Hope this can help
Regards,
Nicolas
Re: debian.py fail with netplan
Verfasst: 10 Feb 2021, 10:27
von m.radtke
Hi Nicolas,
I uploaded a version with your fix in the Linux netboot experimental packages.
Thanks for your report.
Regards
Mathias
Re: debian.py fail with netplan
Verfasst: 10 Feb 2021, 13:33
von nicolaslebrun
Hello Mathias,
Not sure it is a good idea... it seems i can deploy with this line but i have no network... I'll try and be back
Regards,
Nico
Re: debian.py fail with netplan
Verfasst: 11 Feb 2021, 09:25
von m.radtke
Good Morning,
i can verify this
after running
I had a network.
Will work on a fix to make network run at boot
Regards
Mathias
Edit:
fix released as debian_4.1.0.4-3
now powering up netplan config on boot
Re: debian.py fail with netplan
Verfasst: 14 Feb 2021, 22:02
von nicolaslebrun
I can't understand whether stretch and buster use netplan...
AFAIK, netplan is not the default networking manager in debian, isn't it ?
---
I have a version working, but whithout netplan. Here's what i have done
- added strech and buster in pre_netplan_relaease
Code: Alles auswählen
pre_netplan_releases = ["squeeze", "wheezy", "jessie", "stretch", "buster"]
- changed script netdevice.sh to match any (?) ethernet (line 259).
Code: Alles auswählen
myfile.write(" OUT=`udevadm test-builtin net_id /sys/class/net/e* 2> /dev/null | grep ID_NET_NAME_PATH`\n")
but I'm pretty sure it will fail if there are two ethernet cards.
---
When i tried with netplan, even netplan package was not installed.
I added
Code: Alles auswählen
350 if release not in pre_netplan_releases:
351 cmds.append("apt-get --yes --force-yes install netplan")
and the line
but even with that i had no network. I haven(t tried dhclient, yet)
--
I'll try a buster version with netplan and dhclient, and will be back
Thanks
Nico
[SOLVED] Re: debian.py fail with netplan
Verfasst: 15 Feb 2021, 09:28
von nicolaslebrun
Hi Mathias,
Just tried
debian_4.1.0.4-3
It work's like a charm, thank's !
(even if i still think we shouldn't build all locales ...
)
NIco