Flags replaces \x20 on the cmdline with _ (for use with devices that have spaces in their names, _ is equivelant). But this breaks nfs paths with spaces. Use '\ ' instead so that Flags will leave it alone.
Related: rhbz#1109933 --- dracut/parse-kickstart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart index bcde770..304512e 100755 --- a/dracut/parse-kickstart +++ b/dracut/parse-kickstart @@ -74,8 +74,8 @@ class NFS(commands.nfs.FC6_NFS): else: method="nfs:%s:%s" % (self.server, self.dir)
- # Spaces on the cmdline need to be \x20 - method = method.replace(" ", "\x20") + # Spaces on the cmdline need to be '\ ' + method = method.replace(" ", "\ ") return "inst.repo=%s" % method
class URL(commands.url.F18_Url):
On Tue, 2015-01-06 at 12:39 -0800, Brian C. Lane wrote:
Flags replaces \x20 on the cmdline with _ (for use with devices that have spaces in their names, _ is equivelant). But this breaks nfs paths with spaces. Use '\ ' instead so that Flags will leave it alone.
Related: rhbz#1109933
dracut/parse-kickstart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart index bcde770..304512e 100755 --- a/dracut/parse-kickstart +++ b/dracut/parse-kickstart @@ -74,8 +74,8 @@ class NFS(commands.nfs.FC6_NFS): else: method="nfs:%s:%s" % (self.server, self.dir)
# Spaces on the cmdline need to be \x20method = method.replace(" ", "\\x20")
# Spaces on the cmdline need to be '\ 'method = method.replace(" ", "\\ ") return "inst.repo=%s" % method
One of the "hell-long debugging, simple fix" patches, I guess? ACK.
anaconda-patches@lists.fedorahosted.org