mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
cloud-init data from vmware guest info as it described in the link below https://github.com/vmware/cloud-init-vmware-guestinfo Signed-off-by: Birol Bilgin <birolbilgin@gmail.com> Co-authored-by: Birol Bilgin <birol.bilgin@basefarm.com>
28 lines
607 B
Go
28 lines
607 B
Go
//go:build !(linux && 386 && amd64)
|
|
|
|
package main
|
|
|
|
// ProviderVMware implements VMware provider interface for unsupported architectures
|
|
type ProviderVMware struct{}
|
|
|
|
// NewVMware returns a new VMware Provider
|
|
func NewVMware() *ProviderVMware {
|
|
return nil
|
|
}
|
|
|
|
// String implements provider interface
|
|
func (p *ProviderVMware) String() string {
|
|
return ""
|
|
}
|
|
|
|
// Probe implements provider interface
|
|
func (p *ProviderVMware) Probe() bool {
|
|
return false
|
|
}
|
|
|
|
// Extract implements provider interface
|
|
func (p *ProviderVMware) Extract() ([]byte, error) {
|
|
// Get vendor data, if empty do not fail
|
|
return nil, nil
|
|
}
|