consts

package
v0.0.0-...-d945efd Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxOcpVersion = "4.18" // Latest supported version (update on each release)
	MinOcpVersion = "4.14.0-rc.0"

	// user.cfg template
	UserCfgTemplateFile = "scripts/grub/user.cfg.template"
	GrubTimeout         = 10
	GrubMenuEntryName   = "Agent-Based Installer"
	// For installation ignition
	GrubMenuEntryNameRecovery = "Recovery: Agent-Based Installer (Reinstall Cluster)"
	GrubCfgFilePath           = "/boot/grub2/grub.cfg"
	UserCfgFilePath           = "/etc/assisted/user.cfg"

	// guestfish.sh template
	GuestfishScriptTemplateFile = "scripts/guestfish/guestfish.sh.template"
	ApplianceFileName           = "appliance.raw"
	RecoveryIsoFileName         = "recovery.iso"
	DataIsoFileName             = "data.iso"
	CoreosImagePattern          = "rhcos-*%s.raw"

	// ImageSetTemplateFile imageset.yaml.template
	ImageSetTemplateFile = "scripts/mirror/imageset.yaml.template"

	// Recovery/Data partitions
	RecoveryPartitionName = "agentboot"
	DataPartitionName     = "agentdata"

	// ReservedPartitionGUID Set partition as Linux reserved partition: https://en.wikipedia.org/wiki/GUID_Partition_Table
	ReservedPartitionGUID = "8DA63339-0007-60C0-C436-083AC8230908"

	// Local registry
	RegistryImage     = "docker.io/library/registry:2"
	RegistryImageName = "registry:2"
	RegistryFilePath  = "registry/registry.tar"
	RegistryPort      = 5005

	// Local registry env file
	RegistryEnvPath       = "/etc/assisted/registry.env"
	RegistryDataBootstrap = "/tmp/registry"
	RegistryDataInstall   = "/mnt/agentdata/oc-mirror/install"

	// Deployment ISO
	CoreosIsoName      = "coreos-%s.iso"
	DeployIsoName      = "appliance.iso"
	DeployDir          = "deploy"
	ApplianceImageName = "appliance"
	ApplianceImageTar  = "appliance.tar"
	ApplianceImage     = "quay.io/edge-infrastructure/openshift-appliance:latest"

	// Appliance config flags (default values)
	EnableDefaultSources = false
	StopLocalRegistry    = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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