mount_nfs fix for munkiimport and manifestutil

This commit is contained in:
Greg Neagle
2011-09-13 15:14:32 -07:00
parent cb3d75eb45
commit 25a9315cba
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -208,8 +208,8 @@ def mountRepoCLI():
cmd = ['/sbin/mount_afp', '-i', repo_url, repo_path]
elif repo_url.startswith('smb:'):
cmd = ['/sbin/mount_smbfs', repo_url[4:], repo_path]
elif repo_url.startswith('nfs:'):
cmd = ['/sbin/mount_nfs', repo_url, repo_path]
elif repo_url.startswith('nfs://'):
cmd = ['/sbin/mount_nfs', repo_url[6:], repo_path]
else:
print >> sys.stderr, 'Unsupported filesystem URL!'
return
+2 -2
View File
@@ -111,8 +111,8 @@ def mountRepoCLI():
cmd = ['/sbin/mount_afp', '-i', repo_url, repo_path]
elif repo_url.startswith('smb:'):
cmd = ['/sbin/mount_smbfs', repo_url[4:], repo_path]
elif repo_url.startswith('nfs:'):
cmd = ['/sbin/mount_nfs', repo_url, repo_path]
elif repo_url.startswith('nfs://'):
cmd = ['/sbin/mount_nfs', repo_url[6:], repo_path]
else:
print >> sys.stderr, 'Unsupported filesystem URL!'
return