Package: jenkins.debian.org Tags: patch Severity: normal Only display the link status when eth0 is present, otherwise rc.local fails to start up on boot when eth0 is missing.
Patch available in the "rc-local-eth0" branch: https://anonscm.debian.org/cgit/users/vagrant/jenkins.debian.net.git/ A partial patch, only showing the changes on one machine: diff --git a/hosts/bbx15-armhf-rb/etc/rc.local b/hosts/bbx15-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/bbx15-armhf-rb/etc/rc.local +++ b/hosts/bbx15-armhf-rb/etc/rc.local @@ -47,8 +47,8 @@ fixup_mtu() { if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then ip link set dev eth0 mtu 1500 fi + ip link show eth0 fi - ip link show eth0 } # live well, vagrant
signature.asc
Description: PGP signature