From 0d470ae5f653b7f2542a8e86ed31014c4481b372 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 12 Aug 2020 12:12:16 -0400 Subject: [PATCH] Work around formatting fail --- api-daemon/pvcapid/provisioner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/provisioner.py b/api-daemon/pvcapid/provisioner.py index d8a679d7..80ac36f9 100755 --- a/api-daemon/pvcapid/provisioner.py +++ b/api-daemon/pvcapid/provisioner.py @@ -1591,7 +1591,8 @@ def create_vm(self, vm_name, vm_profile, define_vm=True, start_vm=True, script_r # Make sure any bind mounts or submounts are unmounted first if volume['mountpoint'] == '/': - retcode, stdout, stderr = pvc_common.run_os_command('umount {}/**{/**,}'.format(mount_path)) + retcode, stdout, stderr = pvc_common.run_os_command('umount {}/**/**'.format(mount_path)) + retcode, stdout, stderr = pvc_common.run_os_command('umount {}/**'.format(mount_path)) retcode, stdout, stderr = pvc_common.run_os_command('umount {}'.format(mount_path)) if retcode: