generator

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2020 License: Apache-2.0, MIT Imports: 5 Imported by: 0

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"

	// 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"
)

Variables

This section is empty.

Functions

func NewCloudInitGenerator

func NewCloudInitGenerator() (*template_gen.CloudInitGenerator, error)

NewCloudInitGenerator creates a new Generator using the template file for suse-jeos

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL