Otherwise weird tracebacks occur later when an attempt is made to partition the cdrom. Resolves: rhbz#679073 --- kickstart.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kickstart.py b/kickstart.py index 61d00d3..a79c64c 100644 --- a/kickstart.py +++ b/kickstart.py @@ -811,6 +811,8 @@ class PartitionData(commands.partition.F12_PartData): disk = mpath_device if not disk: raise KickstartValueError, formatErrorMsg(self.lineno, msg="Specified nonexistent disk %s in partition command" % n) + if not (disk.isDisk and disk.mediaPresent): + raise KickstartValueError, formatErrorMsg(self.lineno, msg="Cannot install to read-only media %s." % n) should_clear = shouldClear(disk, storage.clearPartType, -- 1.7.5.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list