FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora SELinux Support

 
 
LinkBack Thread Tools
 
Old 05-03-2010, 02:59 PM
Martin Gracik
 
Default Add nfs options to kickstart if we use nfsiso (#585136)

This fixes not having the nfs options in kickstart file
if we use iso image on nfs.
---
instdata.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/instdata.py b/instdata.py
index 4195394..c226cd4 100644
--- a/instdata.py
+++ b/instdata.py
@@ -229,12 +229,12 @@ class InstallData:
(part, dir) = string.split(m[3:], ":")

f.write("harddrive --partition=%s --dir=%s
" % (part, dir))
- elif m.startswith("nfs:"):
+ elif m.startswith("nfs:") or m.startswith("nfsiso:"):
if m.count(":") == 3:
- (server, opts, dir) = string.split(m[4:], ":")
+ (method, server, opts, dir) = m.split(":")
f.write("nfs --server=%s --opts=%s --dir=%s" % (server, opts, dir))
else:
- (server, dir) = string.split(m[4:], ":")
+ (method, server, dir) = m.split(":")
f.write("nfs --server=%s --dir=%s
" % (server, dir))
elif m.startswith("ftp://") or m.startswith("http"):
f.write("url --url=%s
" % urllib.unquote(m))
--
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org