Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   read args from 80kickstart.conf (http://www.linux-archive.org/gentoo-development/646535-read-args-80kickstart-conf.html)

"Brian C. Lane" 03-19-2012 07:52 PM

read args from 80kickstart.conf
 
From: "Brian C. Lane" <bcl@redhat.com>

---
pyanaconda/flags.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
index a7cb92e..ad67a0a 100644
--- a/pyanaconda/flags.py
+++ b/pyanaconda/flags.py
@@ -87,7 +87,8 @@ class Flags(object):
if "nogpt" in self.cmdline:
self.nogpt = True

-cmdline_files = ['/proc/cmdline', '/run/initramfs/etc/cmdline', '/etc/cmdline']
+cmdline_files = ['/proc/cmdline', '/run/initramfs/etc/cmdline',
+ '/run/initramfs/etc/cmdline.d/80kickstart.conf', '/etc/cmdline']
class BootArgs(OrderedDict):
"""
Hold boot arguments as an OrderedDict.
--
1.7.7.6

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

Will Woods 03-19-2012 11:04 PM

read args from 80kickstart.conf
 
ACK - but let's make anaconda use the method information from the
kickstart in a future release.

-w

On Mon, 2012-03-19 at 13:52 -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl@redhat.com>
>
> ---
> pyanaconda/flags.py | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
> index a7cb92e..ad67a0a 100644
> --- a/pyanaconda/flags.py
> +++ b/pyanaconda/flags.py
> @@ -87,7 +87,8 @@ class Flags(object):
> if "nogpt" in self.cmdline:
> self.nogpt = True
>
> -cmdline_files = ['/proc/cmdline', '/run/initramfs/etc/cmdline', '/etc/cmdline']
> +cmdline_files = ['/proc/cmdline', '/run/initramfs/etc/cmdline',
> + '/run/initramfs/etc/cmdline.d/80kickstart.conf', '/etc/cmdline']
> class BootArgs(OrderedDict):
> """
> Hold boot arguments as an OrderedDict.


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


All times are GMT. The time now is 06:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.