Work around formatting fail
This commit is contained in:
parent
5b5b7d2276
commit
0d470ae5f6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue