mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
fix(host-deployer): no noeed clean failed mountpoints (#25421)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user