mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
allow Mac OS developers to run management server natively
This commit is contained in:
parent
f498ca6389
commit
fcd90b269e
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user