[PATCH 2/3] Hook the Geolocation module to Anaconda

Vratislav Podzimek vpodzime at redhat.com
Thu Apr 18 09:29:04 UTC 2013


On Thu, 2013-04-11 at 15:39 +0200, Martin Kolman wrote:
>  
> +    # check if geolocation should be enabled for this type of installation
> +    use_geolocation = True
> +    if flags.imageInstall or flags.dirInstall:
> +        use_geolocation = False
> +    # and also check if it was not disabled by boot options or a CLI argument
> +    elif opts.geoloc == "0":
> +        use_geolocation = False
You could probably use flags.cmdline["geoloc"] here which would also
enable things like 'geoloc=no', 'geoloc=off',...

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list