7.15 detach Command

Use the --detach command to detach a disk image from a guest.

Syntax

vm_maker --detach --disk-image image_name --domain guest_name [ --delete ]

Options

  • --disk image: The name of the disk image that you want to detach.
  • --domain: The name of the guest from which you want to detach the disk image.
  • --delete: Optionally specifies to delete the disk image from /EXAVMIMAGES. This option succeeds only if the disk image is not in use by any other guest. Otherwise, the command fails and reports an error.