adding "_ID-" suffix to mount name

This commit is contained in:
infeo
2018-03-01 15:27:26 +01:00
parent 8ace293701
commit c8387c7e3c

View File

@@ -45,7 +45,7 @@ public class FuseVolume implements Volume {
public void mount() throws CommandFailedException {
try {
EnvironmentVariables envVars = EnvironmentVariables.create()
.withMountName(vaultSettings.mountName().getValue() + vaultSettings.getId())
.withMountName(vaultSettings.mountName().getValue() + "_ID-" + vaultSettings.getId())
.withMountPath(chooseMountRootPath())
.build();
fuseMnt.mount(cfs.getPath("/"), envVars);