Red Hat Bugzilla – Bug 200187
pxeos fails to use FTP password
Last modified: 2012-06-20 12:14:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:22.214.171.124) Gecko/20060508 (CK-IBM) Firefox/126.96.36.199
Description of problem:
When attempting to use a line like
pxeos -a -i 'rhel4as-u3-i386' -p FTP -D 0 -s ftp3.linux.ibm.com \
-K '/root/kickstart' -A 0 -u myuser -P mypass rhel4as-u3-i386
to add an Operating system to PXE, the command fails to use authentication
when contacting the FTP server and looking for file
it will, however, use authentication when checking for
The result is that FTP cannot be used to dig up PXE images when accessing an FTP server requiring authentication AND which contains all of the installation ISO contents in a single directory.
The defect is in /usr/share/system-config-netboot/pxeos.py on line 201.
Line 201 uses (self.protocol, self.server, self.location) to modify the
contents of the top variable. Looking up to line 191 the 'server' variable
is the one modified to contain an FTP password/username, and the 'self.server'
in line 201 should be replaced by 'server'. Doing so fixes the behavior.
Compare with the statement in line 208 which uses the correct variable for the path attempt containing disc1.
Adding some verbosity in terms of what URL is in use when attempting to retrieve the files sure wouldn't hurt either.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.