]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
cobbler: Just output to ttyS1 390/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 27 Mar 2018 15:20:02 +0000 (11:20 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 27 Mar 2018 15:20:02 +0000 (11:20 -0400)
commit68a53631315dce23a4e4ada9c0486a9e2c1d3fe6
treeb12ba77221a25bb4638454c6c81a56503dc28168
parentbcad8e92330514a4e6bd98244e2ccdc66f6905cd
cobbler: Just output to ttyS1

This covers all baremetal types except mira.  Cheetah/Cobbler templating
was breaking with commit
https://github.com/ceph/ceph-cm-ansible/pull/389/commits/de871c037f4ae227bed00933eee24f849a4551b0.

The problem is if there is more than one kernel option type (like
console, ksdevice, etc.), $kernel_options gets expanded into a json
dictionary and breaks the templating.

E.g., {'ksdevice': 'bootif', 'lang': ' ', 'console': ['tty0', 'ttyS1,115200'], 'text': None, 'netcfg/choose_interface': 'auto'}

Rather than fight with that, we'll just output to ttyS1.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler/templates/snippets/cephlab_rc_local