On 06/20/11 - 11:43:40AM, Pádraig Brady wrote:
diff --git a/oz/RedHat.py b/oz/RedHat.py
index 4df3265..b7c30c8 100644
--- a/oz/RedHat.py
+++ b/oz/RedHat.py
@@ -58,6 +58,10 @@ Subsystem sftp /usr/libexec/openssh/sftp-server
"-boot-info-table", "-v",
"-v",
"-o", self.output_iso,
self.iso_contents])
+ def check_iso_tree(self):
+ kernel = os.path.join(self.iso_contents, "isolinux",
"vmlinuz")
+ if not os.path.exists(kernel):
+ raise oz.OzException.OzException("Fedora/Red Hat installs can only be
done using a boot.iso (netinst) image")
Since we will go through this path with both URL and ISO installs, I changed
the error message a bit to read:
Fedora/Red Hat installs can only be done using a boot.iso (netinst) or DVD image (LiveCDs
are not supported)
Thanks for the patch!
--
Chris Lalancette