Detach Boot Disk from GCE VM

后端 未结 3 1547
长发绾君心
长发绾君心 2021-01-18 12:06

I am trying to detach the Boot Disk from a GCE VM. As the VM is stopped so it should allow me to detach it but it\'s returning this error

UNSUPPORTED_OPERATI         


        
3条回答
  •  耶瑟儿~
    2021-01-18 12:53

    Detaching boot disks is now supported in Beta (docs). After shutting down instance, try: gcloud beta compute instances detach-disk INSTANCE_NAME --disk DISK_NAME

    To re-attach a boot disk to the instance: gcloud beta compute instances attach-disk INSTANCE_NAME --disk DISK_NAME --boot

提交回复
热议问题