From 430eda0a519869fd59c7ac791e83e06af2a5e876 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 25 Apr 2016 16:24:56 -0700 Subject: [PATCH] cloud-prep: make grub accessible on serial console, just like the kernel. Signed-off-by: Robin H. Johnson --- releases/weekly/scripts/cloud-prep.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/releases/weekly/scripts/cloud-prep.sh b/releases/weekly/scripts/cloud-prep.sh index 20f3c5aa..d1f98f32 100644 --- a/releases/weekly/scripts/cloud-prep.sh +++ b/releases/weekly/scripts/cloud-prep.sh @@ -16,9 +16,14 @@ grep -v rootfs /proc/mounts > /etc/mtab echo 'net.ipv4.conf.eth0.arp_notify = 1' >> /etc/sysctl.conf echo 'vm.swappiness = 0' >> /etc/sysctl.conf -# Let's configure out grub +# Let's configure our grub +# Access on both regular tty and serial console mkdir /boot/grub -echo 'GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"' >> /etc/default/grub +cat >>/etc/default/grub <