You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grml-debootstrap by default copies /etc/network/interfaces from the host to the target system.
Debian/stretch uses Predictable Network Interface Names by default whereas the current Grml release (currently 2018.12) still uses the traditional/legacy interface name (eth0).
When deploying a Debian/stretch system out of the latest Grml release (currently 2018.12) we have the situation that the /etc/network/interfaces file from the host is copied to the target system which then will boot with no network connection because no Predictable Network Interface Names are configured in it.
When using the option --defaultinterfaces the problem stays the same as only lo and eth0 are configured automatically.
The easiest fix/workaround would be to add a DHCP configuration for all detected Predictable Network Interface Names when using the --defaultinterfaces option. That said, I am not sure how the --vmfile and --vm option should behave. Obviously lo and eth0 are not enough for a Debian/stretch system even in a Virtual Machine, so I think having all detected Predictable Network Interface Names configured as DHCP should do no harm.
Apart from that we should discuss if deploying the host /etc/network/interfaces file by default is (still) the best approach. I would vote for a new option like --hostinterfaces which does that and go for --defaultinterfaces as the new default option.
And while at it, I think Grml should switch to Predictable Network Interface Names by default. I will create an issue for that.
The text was updated successfully, but these errors were encountered:
jkirk
added a commit
to jkirk/grml-debootstrap
that referenced
this issue
Mar 2, 2019
Predictable Network Interface Names were missing the default
/etc/network/interfaces file when using the --defaultinterfaces option.
Added a Networking-Section in the man page to clarify how the network is
configured in the target system and fixed the documentation for the
options --vmfile and --vm. Both options automatically enable the
--defaultinterface option and not the --nointerfaces option.
Closes: grml#126
Predictable Network Interface Names were missing the default
/etc/network/interfaces file when using the --defaultinterfaces option.
Added a Networking-Section in the man page to clarify how the network is
configured in the target system and fixed the documentation for the
options --vmfile and --vm. Both options automatically enable the
--defaultinterface option and not the --nointerfaces option.
Closes: grml#126
grml-debootstrap
by default copies/etc/network/interfaces
from the host to the target system.Debian/stretch uses Predictable Network Interface Names by default whereas the current Grml release (currently 2018.12) still uses the traditional/legacy interface name (
eth0
).When deploying a Debian/stretch system out of the latest Grml release (currently 2018.12) we have the situation that the
/etc/network/interfaces
file from the host is copied to the target system which then will boot with no network connection because no Predictable Network Interface Names are configured in it.When using the option
--defaultinterfaces
the problem stays the same as onlylo
andeth0
are configured automatically.The easiest fix/workaround would be to add a DHCP configuration for all detected Predictable Network Interface Names when using the
--defaultinterfaces
option. That said, I am not sure how the--vmfile
and--vm
option should behave. Obviouslylo
andeth0
are not enough for a Debian/stretch system even in a Virtual Machine, so I think having all detected Predictable Network Interface Names configured as DHCP should do no harm.Apart from that we should discuss if deploying the host
/etc/network/interfaces
file by default is (still) the best approach. I would vote for a new option like--hostinterfaces
which does that and go for--defaultinterfaces
as the new default option.And while at it, I think Grml should switch to Predictable Network Interface Names by default. I will create an issue for that.
The text was updated successfully, but these errors were encountered: