Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFAT12 ¶
CreateFAT12 streams a 1 MiB FAT12 image with VFAT long-filename support to w. label is the volume label (e.g. "CIDATA"); files maps filename → content.
Types ¶
type Config ¶
type Config struct {
InstanceID string
Hostname string
Username string
Password string
Networks []NetworkInfo
Mounts []MountSpec // optional fstab entries written by cloud-init
DNS []string // e.g. ["8.8.8.8", "8.8.4.4"]
}
Config holds the inputs for generating cloud-init NoCloud metadata.
Click to show internal directories.
Click to hide internal directories.