[PATCH] Initialize the kickstart install method (#1017614)

David Shea dshea at redhat.com
Fri Oct 11 15:45:56 UTC 2013


When setting the install method automatically, ensure that kickstart
method.method property is set.
---
 pyanaconda/ui/gui/spokes/source.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index d78c8a6..d9216ab 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -716,8 +716,10 @@ class SourceSpoke(NormalSpoke):
             # fall back to a URL.
             if not self._autodetectButton.get_no_show_all():
                 self._autodetectButton.set_active(True)
+                self.data.method.method = "cdrom"
             else:
                 self._networkButton.set_active(True)
+                self.data.method.method = "url"
 
         self._noUpdatesCheckbox.set_active(not self.payload.isRepoEnabled("updates"))
 
-- 
1.8.3.1



More information about the anaconda-patches mailing list