mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-17 10:31:19 +02:00
Use a global instance, handle loading/saving META in global context. Deprecate legacy syslinux ADV, provide an easier interface for consumers. Expose META as resources. Fix the bootloader revert process (it was completely broken for quite a while :sad:). This is a first step which mostly does preparation work, real changes will come in the next PRs: * add APIs to write to META * consume META keys for platform network config for `metal` * custom key for URL `${code}` Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
17 lines
565 B
Go
17 lines
565 B
Go
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
package meta
|
|
|
|
const (
|
|
// Upgrade is the upgrade tag.
|
|
Upgrade = iota + 6
|
|
// StagedUpgradeImageRef stores image reference for staged upgrade.
|
|
StagedUpgradeImageRef
|
|
// StagedUpgradeInstallOptions stores JSON-serialized install.Options.
|
|
StagedUpgradeInstallOptions
|
|
// StateEncryptionConfig stores JSON-serialized v1alpha1.Encryption.
|
|
StateEncryptionConfig
|
|
)
|