Work around formatting fail

This commit is contained in:
Joshua Boniface 2020-08-12 12:12:16 -04:00
parent 5b5b7d2276
commit 0d470ae5f6
1 changed files with 2 additions and 1 deletions

View File

@ -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: