Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/324744

Change subject: dib: remove eth1 configuration
......................................................................

dib: remove eth1 configuration

The debootstrap elements creates networking configuration for each of
eth0 and eth1. However we only use eth0 and I suspect the second non
existing interface might delay the boot.

Delete /etc/network/interfaces.d/eth1  after debootstrap has done the
network configuration.

Bug: T113342
Change-Id: I9f3bff38ce792a90f90dbb53602c8944cd7f1377
---
A dib/elements/wikimedia/install.d/11-remove-eth1
1 file changed, 16 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/44/324744/1

diff --git a/dib/elements/wikimedia/install.d/11-remove-eth1 
b/dib/elements/wikimedia/install.d/11-remove-eth1
new file mode 100755
index 0000000..bba47e3
--- /dev/null
+++ b/dib/elements/wikimedia/install.d/11-remove-eth1
@@ -0,0 +1,16 @@
+#!/bin/bash
+# vim: set et ts=4 sw=4:
+
+# Must happens after:
+# elements/debootstrap/install.d/10-debian-networking
+
+if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
+    set -x
+fi
+set -eu
+set -o pipefail
+
+# Remove eth1 configuration from debootstrap element.
+# Seems to delay instance boot https://phabricator.wikimedia.org/T113342
+echo "Removing unneeded eth1 configuration package..."
+rm -fv /etc/network/interfaces.d/eth1

-- 
To view, visit https://gerrit.wikimedia.org/r/324744
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f3bff38ce792a90f90dbb53602c8944cd7f1377
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to