[rhel7/f20/master 1/3] Set bootloader default location to mbr in constructor (#916529)
Brian C. Lane
bcl at redhat.com
Fri Nov 1 00:37:30 UTC 2013
On Thu, Oct 31, 2013 at 10:35:28AM -0400, mulhern wrote:
> Resolves: rhbz#916529
>
> Previously bootloader location defaulted to approximately none for a
> kickstart install if there was no bootloader line in the file.
> If there was a bootloader line in the file, it defaulted to "mbr".
> For an interactive install, location was explicitly set
> to "mbr" by the initial kickstart file.
>
> Now, the default is "mbr" regardless of how the install is started.
>
> Signed-off-by: mulhern <amulhern at redhat.com>
> ---
> pyanaconda/kickstart.py | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
> index b206231..c9ea177 100644
> --- a/pyanaconda/kickstart.py
> +++ b/pyanaconda/kickstart.py
> @@ -260,6 +260,11 @@ class AutoPart(commands.autopart.F20_AutoPart):
> doAutoPartition(storage, ksdata)
>
> class Bootloader(commands.bootloader.F19_Bootloader):
> +
> + def __init__(self, *args, **kwargs):
No need for an empty line between class and def here.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list