allow Mac OS developers to run management server natively

This commit is contained in:
Chiradeep Vittal 2012-01-27 16:26:27 -08:00
parent f498ca6389
commit fcd90b269e

View File

@ -700,6 +700,9 @@ public class VmwareManagerImpl implements VmwareManager, VmwareStorageMount, Lis
Script command = new Script(true, "mount", _timeout, s_logger);
command.add("-t", "nfs");
// command.add("-o", "soft,timeo=133,retrans=2147483647,tcp,acdirmax=0,acdirmin=0");
if ("Mac OS X".equalsIgnoreCase(System.getProperty("os.name"))) {
command.add("-o", "resvport");
}
command.add(path);
command.add(mountPoint);
result = command.execute();