[Git-commits] [grml/grml-debootstrap] 2860f1: Fix detection of predictable network interface names
Michael Prokop
noreply at github.com
Fri Jun 14 14:53:59 CEST 2019
Branch: refs/heads/master
Home: https://github.com/grml/grml-debootstrap
Commit: 2860f131b65664467209350e16f39f75b7b27af0
https://github.com/grml/grml-debootstrap/commit/2860f131b65664467209350e16f39f75b7b27af0
Author: Michael Prokop <mika at grml.org>
Date: 2019-05-31 (Fri, 31 May 2019)
Changed paths:
M grml-debootstrap
Log Message:
-----------
Fix detection of predictable network interface names
E.g. virtio drivers might have the properties ID_NET_NAME_PATH=enp0s18
and ID_NET_NAME_SLOT=ens18. If we check only for ID_NET_NAME_PATH, then
we end up with a network configuration for enp0s18, while the actual
network interface name will be ens18.
So instead look at all present network devices, iterate over them
(ignoring the virtual interfaces like bridges + vboxnet) and
check for present ID_NET_NAME_* settings, using the following precedence
(as defined in link_config_apply() of systemd/src/udev/net/link-config.c):
* ID_NET_NAME_FROM_DATABASE
* ID_NET_NAME_ONBOARD
* ID_NET_NAME_SLOT
* ID_NET_NAME_PATH
* ID_NET_NAME_MAC
Closes: #929810
Commit: 7a11723297e5ca49f253b52e32a464afc7c05467
https://github.com/grml/grml-debootstrap/commit/7a11723297e5ca49f253b52e32a464afc7c05467
Author: Michael Prokop <mika at grml.org>
Date: 2019-06-13 (Thu, 13 Jun 2019)
Changed paths:
M grml-debootstrap
Log Message:
-----------
Ensure /etc/network exists before setting up /etc/network/interfaces
When grml-debootstrap is invoked with `--debopt --variant=minbase`, our
handling of /etc/network/interfaces fails, as the directory
/etc/network/ doesn't necessarily exist yet in the essential/minbase
variants (unless you explicitly install ifupdown/netbase).
Closes: #930468
Commit: 26c904e713bf9f18a510e92dc8d07bbd99fccf3b
https://github.com/grml/grml-debootstrap/commit/26c904e713bf9f18a510e92dc8d07bbd99fccf3b
Author: Michael Prokop <mika at grml.org>
Date: 2019-06-14 (Fri, 14 Jun 2019)
Changed paths:
M debian/changelog
Log Message:
-----------
Release new version 0.89
Compare: https://github.com/grml/grml-debootstrap/compare/7e1e9b8dbdcf...26c904e713bf
More information about the Git-commits
mailing list