beaker-project / zpxe

PXE-like network booting functionality for z/VM guests
GNU General Public License v2.0
5 stars 5 forks source link

support ftp:// URLs in profiles #1

Closed danc86 closed 7 years ago

danc86 commented 8 years ago

If the kernel or initramfs lines in the profile are of the form:

ftp://<server>/<path>

then we use the z/VM FTP client to fetch the image from the given server and path.

Any other string is assumed to be a TFTP path on the "PXE" server, so existing profiles will continue to work the same.

This can be used to work around the 32MB file size limitation in the z/VM TFTP client, which is a problem for booting Linux when the initramfs image is larger than 32MB (for example, the Fedora 23 installer).

danc86 commented 8 years ago

Amended to fix the wrong args when calling GetTFTP.

danc86 commented 8 years ago

For some extra context on why this is needed, see this Beaker bug: https://bugzilla.redhat.com/show_bug.cgi?id=1322235