inject

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package inject implements cloud-init ISO inject logic.

Index

Constants

View Source
const CloudInitISODevice = "ide0"

CloudInitISODevice default device used to inject cdrom iso.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISOInjector

type ISOInjector struct {
	VirtualMachine *proxmox.VirtualMachine

	BootstrapData []byte

	MetaRenderer    cloudinit.Renderer
	NetworkRenderer cloudinit.Renderer
}

ISOInjector used to Inject cloudinit userdata, metadata and network-config into a Proxmox VirtualMachine.

func (*ISOInjector) Inject

func (i *ISOInjector) Inject(ctx context.Context) error

Inject injects cloudinit userdata, metadata and network-config into a Proxmox VirtualMachine.

Jump to

Keyboard shortcuts

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