--- booty/s390.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/booty/s390.py b/booty/s390.py index 0101d96..9fd9c1e 100644 --- a/booty/s390.py +++ b/booty/s390.py @@ -131,7 +131,8 @@ class s390BootloaderInfo(bootloaderInfo): f.write('[defaultboot]\n') if self.timeout: f.write('timeout=%d\n' % self.timeout) - f.write('default=' + kernelList[-1][0] + '-' + kernelList[-1][2] + '\n') + defaultList = filter(lambda x: not (x[0].endswith('debug') or x[0].endswith('kdump')), kernelList) + f.write('default=' + defaultList[-1][0] + '-' + defaultList[-1][2] + '\n') f.write('target=%s\n' % (self.kernelLocation)) cfPath = "/boot/" -- 1.7.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list