[PATCH 1/6] Add a mapping of old run level to new systemd target

Jesse Keating jkeating at redhat.com
Tue Nov 13 05:50:55 UTC 2012


---
 pyanaconda/constants.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pyanaconda/constants.py b/pyanaconda/constants.py
index e945bca..d9d5b33 100644
--- a/pyanaconda/constants.py
+++ b/pyanaconda/constants.py
@@ -91,4 +91,7 @@ DMI_CHASSIS_VENDOR = "/sys/class/dmi/id/chassis_vendor"
 
 # VNC questions
 USEVNC = _("Start VNC")
-USETEXT = _("Use text mode")
\ No newline at end of file
+USETEXT = _("Use text mode")
+
+# Runlevel files
+RUNLEVELS = {3: 'multi-user.target', 5: 'graphical.target'}
\ No newline at end of file
-- 
1.7.11.4



More information about the anaconda-patches mailing list