diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/openslx/taskmanager/tasks/MountVmStore.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/taskmanager/tasks/MountVmStore.java b/src/main/java/org/openslx/taskmanager/tasks/MountVmStore.java index 11c15db..e0a998a 100644 --- a/src/main/java/org/openslx/taskmanager/tasks/MountVmStore.java +++ b/src/main/java/org/openslx/taskmanager/tasks/MountVmStore.java @@ -22,6 +22,8 @@ public class MountVmStore extends SystemCommandTask private String username = null; @Expose private String password = null; + @Expose + private boolean localNfs = true; private Output status = new Output(); @@ -65,6 +67,7 @@ public class MountVmStore extends SystemCommandTask { environment.put( "TM_USERNAME", this.username ); environment.put( "TM_PASSWORD", this.password ); + environment.put( "TM_NOLOCALNFS", this.localNfs ? "" : "1" ); if ( !Util.isEmpty( this.opts ) ) { environment.put( "TM_MOUNT_OPTIONS", this.opts ); } |