Changes between Version 27 and Version 28 of Documentation/SupportedImages/BuildingBaselineImage
- Timestamp:
- Jul 8, 2013, 8:31:05 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/SupportedImages/BuildingBaselineImage
v27 v28 23 23 * Get hostname from dhcp 24 24 ---- 25 26 25 ''' Base OS configuration ''' 27 26 1. Install base OS with a single 15GB partition. It should have no Swap. Openssh Server service should be installed. 28 1. To configure grub/kernel messages to goto serial a dd/modify the following lines in /etc/default/grub and run update-grub:27 1. To configure grub/kernel messages to goto serial and prevent grub from looking for user input add/modify the following lines in /etc/default/grub and run update-grub: 29 28 {{{ 29 GRUB_DEFAULT=0 30 GRUB_HIDDEN_TIMEOUT=0 31 GRUB_HIDDEN_TIMEOUT_QUIET=true 32 GRUB_TIMEOUT=10 33 GRUB_RECORDFAIL_TIMEOUT=0 34 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` 30 35 GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8" 31 36 GRUB_TERMINAL=serial 32 37 GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1" 33 GRUB_RECORDFAIL_TIMEOUT=034 38 }}} 35 39 To configure the serial console for login create a file named /etc/init/ttyS0.conf and give it the following contents: