Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OSConfigFormat format of the OSC to be generated. Must match the name of a subdirectory under // the 'templates' directory. Presently 'script' and 'cloud-init' are supported OSConfigFormat = "OS_CONFIG_FORMAT" // OSConfigFormatScript is a constant for the 'script' config format. OSConfigFormatScript = "script" // OSConfigFormatCloudInit is a constant for the 'cloud-init' config format. OSConfigFormatCloudInit = "cloud-init" // BootCommand command to be executed to bootstap the OS Configuration. // Depends on the OSC format and the infrastructure platform. // Well known valid values are `"/bin/bash %s"` and `"/usr/bin/cloud-init clean && /usr/bin/cloud-init --file %s init"`. BootCommand = "BOOT_COMMAND" // BootCommandBash is a constant for the /bin/bash boot command. BootCommandBash = "/bin/bash %s" )
Variables ¶
This section is empty.
Functions ¶
func NewCloudInitGenerator ¶
func NewCloudInitGenerator() (*oscommontemplate.CloudInitGenerator, error)
NewCloudInitGenerator creates a new Generator using the template file for suse-chost
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.