fix(host-deployer): no noeed clean failed mountpoints (#25421)

This commit is contained in:
wanyaoqi
2026-08-25 11:35:02 +08:00
committed by GitHub
parent dbb6c4a17b
commit 24a245fd4f
+1 -1
View File
@@ -56,7 +56,7 @@ func NewKVMGuestDiskPartition(devPath, sourceDev string, isLVM bool) *SKVMGuestD
res.fs = res.getFsFormat()
res.sourceDev = sourceDev
res.IsLVMPart = isLVM
fileutils2.CleanFailedMountpoints()
//fileutils2.CleanFailedMountpoints()
mountPath := fmt.Sprintf("/tmp/%s", strings.Replace(devPath, "/", "_", -1))
res.SLocalGuestFS = NewLocalGuestFS(mountPath)
return res