Filippo Giunchedi has submitted this change and it was merged.

Change subject: install-server: install lldpd early
......................................................................


install-server: install lldpd early

rationale being that this way a newly-installed machine will be listed in
'show lldp neigh' command on the switches, confirming where the machine is and
the link status

Change-Id: I4ab7606b99f4c16c0c9d518a6c36b5952b21ff28
---
M modules/install-server/files/autoinstall/scripts/late_command
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved
  Mark Bergsma: Looks good to me, but someone else must approve



diff --git a/modules/install-server/files/autoinstall/scripts/late_command 
b/modules/install-server/files/autoinstall/scripts/late_command
index 7b733fd..ee114c1 100644
--- a/modules/install-server/files/autoinstall/scripts/late_command
+++ b/modules/install-server/files/autoinstall/scripts/late_command
@@ -8,9 +8,10 @@
 wget -O /target/root/.ssh/authorized_keys 
http://apt.wikimedia.org/autoinstall/ssh/authorized_keys
 chmod go-rwx /target/root/.ssh/authorized_keys
 
-# install openssh-server to make the machine accessible
-# and puppet because we'll need it soon anyway
-apt-install openssh-server puppet
+# openssh-server: to make the machine accessible
+# puppet: because we'll need it soon anyway
+# lldpd: announce the machine on the network
+apt-install openssh-server puppet lldpd
 
 # Change /etc/motd to read the auto-install date
 chroot /target /bin/sh -c 'echo $(cat /etc/issue.net) auto-installed on 
$(date). > /etc/motd.tail'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4ab7606b99f4c16c0c9d518a6c36b5952b21ff28
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: Cmjohnson <cmjohn...@wikimedia.org>
Gerrit-Reviewer: Faidon Liambotis <fai...@wikimedia.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Mark Bergsma <m...@wikimedia.org>
Gerrit-Reviewer: RobH <r...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to