Documentation
¶
Index ¶
Constants ¶
View Source
const ( MountTypeAuto = "auto" MountTypeVirtiofs = "virtiofs" )
Variables ¶
This section is empty.
Functions ¶
func CreateImage ¶
func CreateImage(file string, cfg Configuration) error
CreateImage creates a fat32 image for cloud-init that has
Types ¶
type Configuration ¶
type Ethernet ¶
type Ethernet struct {
Name string `yaml:"-"`
Mac MacMatch `yaml:"match"`
DHCP4 bool `yaml:"dhcp4"`
Addresses []string `yaml:"addresses"`
Gateway4 string `yaml:"gateway4,omitempty"`
Gateway6 string `yaml:"gateway6,omitempty"`
Routes []Route `yaml:"routes,omitempty"`
Nameservers *Nameservers `yaml:"nameservers,omitempty"`
}
type Mount ¶
func (Mount) MarshalYAML ¶
type Nameservers ¶
type NetworkObjectType ¶
type NetworkObjectType string
type SubnetType ¶
type SubnetType string
Click to show internal directories.
Click to hide internal directories.