ceph/teuthology
Dan Mick 52cdaae683 kernel.py: put submenu name in 01_ceph_kernel if necessary
We had been writing 01_ceph_kernel with the kernel title, and
relying on the fact that grub.cfg would never have submenus in it
(implemented by a hack to /etc/grub.d/10_linux which neutered its
submenu creation).  However, that hack was modifying a package file,
and got in the way of later apt commands.  Rather than doing it
that way, this divines the title of the submenu and sets the
default variable to "submenu>kernel", which works to select the
desired kernel.

It depends on there being only one level of submenu, and on the
format of the menuentry and submenu commands, dictated by grub2.
None of this is likely to work at all outside Ubuntu.

Fixes: #4496
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit 52aec32a7d)
2013-04-12 15:49:15 -07:00
..
locker locker: try to make up for apache timeouts 2013-03-29 16:34:15 -07:00
orchestra task/restart: Restart task for testing daemon kill 2013-03-18 11:16:01 -05:00
task kernel.py: put submenu name in 01_ceph_kernel if necessary 2013-04-12 15:49:15 -07:00
test Move orchestra to teuthology.orchestra so there's just one top-level package. 2011-09-13 14:53:02 -07:00
__init__.py Initial import. 2011-05-31 13:51:48 -07:00
ceph.conf.template ceph.conf: osd debug op order = true 2013-03-26 12:21:13 -07:00
contextutil.py Add debug logging to contextutil.nested. 2011-06-16 10:39:26 -07:00
coverage.py coverage: note db table structure 2012-10-24 16:11:12 -07:00
lock.py lock: pass desc to lock operation; leave on unlock 2013-03-25 16:47:02 -07:00
misc.py task/ceph_manager: Only reconnect if powercycled 2013-03-13 11:15:51 -05:00
nuke.py install, nuke: explicitly purge /var/lib/ceph 2013-03-22 15:22:38 -07:00
parallel.py Don't lose tracebacks of exceptions raised in a greenlet. 2012-09-11 11:25:21 -07:00
queue.py add --name option to teuthology 2013-01-31 08:23:34 -06:00
run_tasks.py Handle interactive-on-error also when error is from contextmanager exit. 2011-11-30 17:07:26 -08:00
run.py run: clean up machine_type thing 2013-03-29 12:19:05 -07:00
safepath.py Archive logs if given --archive=PATH. Clean up after a test run. 2011-06-07 14:47:30 -07:00
suite.py suite: shorten subject a bit 2013-03-19 12:12:56 -07:00