[PATCH 1/3] Honor --timeout=NUM from kickstart files on s390 (#603032)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If the user passes a --timeout value on the bootloader configuration
line in the kickstart file on s390, make sure that value is written to
zipl.conf.  If we do not have a --timeout value, do not print anything
(preserves existing behavior).
---
 booty/s390.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/booty/s390.py b/booty/s390.py
index 1cc6e71..f5fdaa8 100644
--- a/booty/s390.py
+++ b/booty/s390.py
@@ -129,6 +129,8 @@ class s390BootloaderInfo(bootloaderInfo):
         f = open(instRoot + cf, "w+")        
 
         f.write('[defaultboot]\n')
+        if self.timeout:
+            f.write('timeout=%d\n' % self.timeout)
         f.write('default=' + kernelList[0][0] + '\n')
         f.write('target=%s\n' % (self.kernelLocation))
 
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux