Documentation
¶
Overview ¶
Package seed creates cloud-init NoCloud seed ISOs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Hostname string
User string
SSHKey string
// Fixtures are read-only ext4 images to mount in the guest via cloud-init's
// mounts: directive (which writes /etc/fstab, so they re-mount on every boot
// without a cloud-init re-run), each addressed by its volume LABEL. Empty for
// a VM with no fixtures.
Fixtures []Fixture
// Network, when non-nil, makes the guest configure its NIC with a static
// IPv4 address via a NoCloud network-config (Linux/cloud-hypervisor). Nil
// means "no network-config", leaving the guest on DHCP (macOS).
Network *NetworkConfig
}
Config specifies the cloud-init configuration for a VM.
Click to show internal directories.
Click to hide internal directories.