From b751b72c352513d8c2daae60b5c404ca4fd43cc2 Mon Sep 17 00:00:00 2001 From: ioito Date: Wed, 2 Mar 2022 11:41:35 +0800 Subject: [PATCH] fix(host): rbd disk path --- pkg/hostman/storageman/disk_rbd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hostman/storageman/disk_rbd.go b/pkg/hostman/storageman/disk_rbd.go index 9351f21aed..dab4f8da8c 100644 --- a/pkg/hostman/storageman/disk_rbd.go +++ b/pkg/hostman/storageman/disk_rbd.go @@ -83,7 +83,7 @@ func (d *SRBDDisk) GetDiskDesc() jsonutils.JSONObject { } func (d *SRBDDisk) GetDiskSetupScripts(idx int) string { - return fmt.Sprintf("DISK_%d=%s\n", idx, d.GetPath()) + return fmt.Sprintf("DISK_%d='%s'\n", idx, d.GetPath()) } func (d *SRBDDisk) DeleteAllSnapshot(skipRecycle bool) error {