From 36f3653b066bfed9d88b590f345c23704bbd272e Mon Sep 17 00:00:00 2001 From: choryang Date: Tue, 5 Apr 2022 10:31:08 +0900 Subject: [PATCH] delete disk name definition --- .../cloud-driver/drivers/gcp/resources/VMHandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-control-manager/cloud-driver/drivers/gcp/resources/VMHandler.go b/cloud-control-manager/cloud-driver/drivers/gcp/resources/VMHandler.go index ec8bd8aa0..57732b01f 100644 --- a/cloud-control-manager/cloud-driver/drivers/gcp/resources/VMHandler.go +++ b/cloud-control-manager/cloud-driver/drivers/gcp/resources/VMHandler.go @@ -168,7 +168,7 @@ func (vmHandler *GCPVMHandler) StartVM(vmReqInfo irs.VMReqInfo) (irs.VMInfo, err Boot: true, Type: "PERSISTENT", InitializeParams: &compute.AttachedDiskInitializeParams{ - DiskName: vmName + "-" + zone, //disk name 도 매번 바뀌어야 하는 값 + //DiskName: vmName, //disk name 도 매번 바뀌어야 하는 값, 루트 디스크 이름은 특별히 지정하지 않는 경우 vm이름으로 생성됨 SourceImage: imageURL, }, },