Documentation ¶
Overview ¶
Package init provides functions for integration with virtual machine initialization frameworks like cloud-init.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserData ¶
type UserData struct { // Type defines hyperscaler platform for which the user data should be generated for Type models.ProviderType // PowerOff controls power state first boot setting. When set, user data // will contain instruction to power off the VM after initial launch after // initialization. PowerOff bool // PowerOffDelayMin specifies number of minutes after shutdown command is // executed. A warning over tty is sent to all logged users. Minimum value // is 1, when set negative or to zero, one minute will be used. PowerOffDelayMin int // A message that is passed to the poweroff command and shown to logged users. // When unset, "User data scheduled power off" is used. PowerOffMessage string // InsightsTags renders a first-boot script which populates /etc/insights-client/tags.yaml InsightsTags bool }
Click to show internal directories.
Click to hide internal directories.