[PATCH] Don't use geolocation when installing with kickstart

Martin Kolman mkolman at redhat.com
Mon Jun 30 12:01:46 UTC 2014


Kickstart installation should be as deterministic as possible,
so geolocation should not be used as it can cause very non-deterministic
system timezone & language configuration (if timezone and language are not
set in the kickstart).

Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 anaconda | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anaconda b/anaconda
index dde0217..472fa65 100755
--- a/anaconda
+++ b/anaconda
@@ -1306,7 +1306,7 @@ if __name__ == "__main__":
 
     # check if geolocation should be enabled for this type of installation
     use_geolocation = True
-    if flags.imageInstall or flags.dirInstall:
+    if flags.imageInstall or flags.dirInstall or flags.automatedInstall:
         use_geolocation = False
     # and also check if it was not disabled by boot option
     else:
-- 
1.9.3



More information about the anaconda-patches mailing list