Andrew Bogott has uploaded a new change for review.

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

Change subject: Add rootdelay=N to the kernel settings in debian images.
......................................................................

Add rootdelay=N to the kernel settings in debian images.

This will maybe fix our lvm problems.

Change-Id: I70ef4865c6b205b38bd91c95bb4510d525be9c86
---
M modules/labs_bootstrapvz/files/firstboot.sh
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/99/185199/1

diff --git a/modules/labs_bootstrapvz/files/firstboot.sh 
b/modules/labs_bootstrapvz/files/firstboot.sh
index 6492718..cfe6c6f 100644
--- a/modules/labs_bootstrapvz/files/firstboot.sh
+++ b/modules/labs_bootstrapvz/files/firstboot.sh
@@ -57,6 +57,11 @@
       fi
     fi
   fi
+
+  # Debian has an lvm bug that foils many a boot.  This hack should
+  # work around that.
+  sed -i 
'/GRUB_CMDLINE_LINUX_DEFAULT.*/c\GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0 
rootdelay=N"' /etc/default/grub
+  /usr/sbin/update-grub
 fi
 # At this point, all (the rest of) our disk are belong to LVM.
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70ef4865c6b205b38bd91c95bb4510d525be9c86
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to