Fix serial console
authorGuido Trotter <ultrotter@google.com>
Sun, 1 Nov 2009 21:23:41 +0000 (16:23 -0500)
committerGuido Trotter <ultrotter@google.com>
Fri, 12 Mar 2010 09:13:18 +0000 (09:13 +0000)
commit6ab7b57d0cdef722145450582440cce5faf52403
tree18e832c934143cd131bb1bd36cadddf815e45b30
parent127b05cd18c56a6d012f56a072e48defe6101657
Fix serial console

- Binding the console on /dev/console makes it impossible to send
  control characters (eg. ctrl+C). Now that we can, on the ganeti side,
  support a better console mode, with a proper escape character, in
  order to have a working console on the instance side we explicitely
  bind getty to ttyS0, but only when the relevant hypervisor parameter
  is set (of course if that's later changed one has to do the relevant
  change inside the instance, or he'll see init error messages on the
  console)

- Ubuntu has changed to yet another style for init config. Support both.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
create