Explicitly name element enable-serial-console

We use an element remove-serial-console in image elements.
Renaming this element to match. Also renaming allows us to use
the serial console in devtest runs.
See - https://review.openstack.org/#/c/86272/

Change-Id: I8f1138f58d0046ccdeefa3decc45c36d95c6bf4b
This commit is contained in:
Cian O'Driscoll 2014-05-08 06:30:06 -04:00
parent 20cb5927d2
commit 7e58968779
8 changed files with 17 additions and 10 deletions

View File

@ -0,0 +1,10 @@
Start getty on active serial consoles.
With ILO and other remote admin environments, having a serial console can be
useful for debugging and troubleshooting.
For upstart:
If ttyS1 exists, getty will run on that, otherwise on ttyS0.
For systemd:
We dynamically start a getty on any active serial port via udev rules.

View File

@ -1,10 +1 @@
Start getty on active serial consoles. **This element is now deprecated please use enable-serial-console instead**
With ILO and other remote admin environments, having a serial console can be
useful for debugging and troubleshooting.
For upstart:
If ttyS1 exists, getty will run on that, otherwise on ttyS0.
For systemd:
We dynamically start a getty on any active serial port via udev rules.

View File

@ -0,0 +1 @@
enable-serial-console

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -uex
set -o pipefail
echo "Use of serial-console element is deprecated, please use enable-serial-console instead."