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 {