1 |
From 81925136c19c59ddd6f6d8e00898f6e03f2408cd Mon Sep 17 00:00:00 2001 |
From c0dfe681d9f71932457ad001b29dc1570d84835b Mon Sep 17 00:00:00 2001 |
2 |
From: Shad L. Lords <slords@mail.com> |
From: Shad L. Lords <slords@mail.com> |
3 |
Date: Mon, 19 Oct 2009 08:45:40 -0600 |
Date: Mon, 19 Oct 2009 08:45:40 -0600 |
4 |
Subject: [PATCH] Run SME post-install scripts on kickstart install/upgrade |
Subject: [PATCH] Run SME post-install scripts on kickstart install/upgrade |
19 |
+ _("The post installation script is running...")) |
+ _("The post installation script is running...")) |
20 |
+ |
+ |
21 |
+ script = ( "#!/bin/sh\nmkdir -p /var/lib/dhcp; /sbin/syslogd ; sleep 2; /sbin/e-smith/signal-event post-install\n" ) |
+ script = ( "#!/bin/sh\nmkdir -p /var/lib/dhcp; /sbin/syslogd ; sleep 2; /sbin/e-smith/signal-event post-install\n" ) |
22 |
+ s = Script(script, interp="/bin/sh", inChroot=1) |
+ s = AnacondaKSScript (script, interp="/bin/sh", inChroot=1) |
23 |
+ log.info("%s", s) |
+ log.info("%s", s) |
24 |
+ s.run(anaconda.rootPath, serial) |
+ s.run(anaconda.rootPath, serial) |
25 |
+ win.pop() |
+ win.pop() |