mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-29 17:58:36 +08:00
feature(esxi-agent): Esxi Agent Golang
1. 修改了host-deployer 使其支持 vmware vddk 的 deploy guest fs 操作。 2. esxi agent python ==> Go fix(esxi-agent): Fix some bugs and irregular contents fix(esxi-agent): Partial parameter structure fix(esxi-agent): Add ovf template and remove some binary file fix(esxi-agent): Format Code fix(esxi-agent): fix based on reviewers' comments fix(esxi-agent): fix host-deployer because of occasional unknown panic fix: DelayTask should have a new Context fix(esxi-agent): call hostutils.DelayTask change '_interface' package to 'iagent' package fix(esxi-agent): Fix some irregular code
This commit is contained in:
@@ -308,6 +308,10 @@ func (d *SKVMGuestDisk) DetectIsUEFISupport(rootfs fsdriver.IRootFsDriver) bool
|
||||
return false
|
||||
}
|
||||
|
||||
func (d *SKVMGuestDisk) MountRootfs() fsdriver.IRootFsDriver {
|
||||
return d.MountKvmRootfs()
|
||||
}
|
||||
|
||||
func (d *SKVMGuestDisk) MountKvmRootfs() fsdriver.IRootFsDriver {
|
||||
return d.mountKvmRootfs(false)
|
||||
}
|
||||
@@ -340,6 +344,10 @@ func (d *SKVMGuestDisk) UmountKvmRootfs(fd fsdriver.IRootFsDriver) {
|
||||
}
|
||||
}
|
||||
|
||||
func (d *SKVMGuestDisk) UmountRootfs(fd fsdriver.IRootFsDriver) {
|
||||
d.UmountKvmRootfs(fd)
|
||||
}
|
||||
|
||||
func (d *SKVMGuestDisk) MakePartition(fs string) error {
|
||||
return Mkpartition(d.nbdDev, fs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user