diff --git a/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh b/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh
index 5a5378338fc5c487661f8dbd28bb2b87dd6af4c2..ed722256e5a5305d473d6b0c5b2ceafffb9122e5 100755
--- a/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh
+++ b/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh
@@ -8,9 +8,11 @@ echo Wiping mhvtl and kubernetes library info...
 systemctl stop mhvtl || true
 sleep 2
 rm -rf /etc/mhvtl
+umount /opt/mhvtl || true
 rm -rf /opt/mhvtl
 rm -rf /opt/kubernetes/CTA/library
 mkdir -p /opt/mhvtl
+mount -t tmpfs -o size=512m tmpfs /opt/mhvtl
 
 ################################################################################
 ### puppet:///modules/hg_cta/00-cta-tape.rules