cloudinit

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndentWriteFile

func IndentWriteFile(snippet *string) (*string, error)

If we add the snippet as part of a cloud init file the strategy would be create the file with write_files: i.e. write_files:

# Cirrus service setup
- content: |
    {{ .CirrusSnippet }} <----- 6 spaces

to do so we need to indent 6 spaces each line of the snippet

Types

This section is empty.

Jump to

Keyboard shortcuts

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