1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From: Marcin Kulisz <debian@kulisz.net>
Date: Tue, 20 Sep 2016 14:34:50 +0100
Subject: EC2 provider: Adding console as output device for grub
---
bootstrapvz/providers/ec2/tasks/boot.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/bootstrapvz/providers/ec2/tasks/boot.py b/bootstrapvz/providers/ec2/tasks/boot.py
index 7163fb8..f7917e0 100644
--- a/bootstrapvz/providers/ec2/tasks/boot.py
+++ b/bootstrapvz/providers/ec2/tasks/boot.py
@@ -7,13 +7,14 @@ from bootstrapvz.common.tools import log_check_call
class AddXenGrubConsoleOutputDevice(Task):
- description = 'Adding XEN `hvc0\' as output device for grub'
+ description = 'Adding console as output device for grub'
phase = phases.system_modification
successors = [grub.WriteGrubConfig]
@classmethod
def run(cls, info):
- info.grub_config['GRUB_CMDLINE_LINUX_DEFAULT'].append('console=hvc0')
+ info.grub_config['GRUB_CMDLINE_LINUX_DEFAULT'].append(
+ 'console=ttyS0,115200n8')
class UpdateGrubConfig(Task):
|