summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/spokes/source.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/ui/gui/spokes/source.py')
-rw-r--r--pyanaconda/ui/gui/spokes/source.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 5751ca0ff..43c49282b 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -602,12 +602,15 @@ class SourceSpoke(NormalSpoke):
@property
def completed(self):
- return not self._error and self.status and self.status != _("Nothing selected")
+ if flags.automatedInstall and not self.data.method.method:
+ return False
+ else:
+ return not self._error and self.status and self.status != _("Nothing selected")
@property
def mandatory(self):
return True
-
+
@property
def ready(self):
from pyanaconda.threads import threadMgr
@@ -702,7 +705,7 @@ class SourceSpoke(NormalSpoke):
if self.data.method.method == "cdrom":
cdrom = self.payload.install_device
chosen = True
- else:
+ elif not flags.automatedInstall:
cdrom = opticalInstallMedia(self.storage.devicetree)
if cdrom: