mirror of
https://github.com/siderolabs/talos.git
synced 2026-05-05 12:26:21 +02:00
Support embedding machine config via a virtual extension to a fixed path. Fixes #11824 Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
20 lines
805 B
Go
20 lines
805 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 profile
|
|
|
|
import (
|
|
"github.com/siderolabs/talos/pkg/machinery/meta"
|
|
)
|
|
|
|
// CustomizationProfile describes customizations that can be applied to the image.
|
|
type CustomizationProfile struct {
|
|
// ExtraKernelArgs is a list of extra kernel arguments.
|
|
ExtraKernelArgs []string `yaml:"extraKernelArgs,omitempty"`
|
|
// MetaContents is a list of META partition contents.
|
|
MetaContents meta.Values `yaml:"metaContents,omitempty"`
|
|
// EmbeddedMachineConfiguration is the machine configuration to embed into the image.
|
|
EmbeddedMachineConfiguration string `yaml:"embeddedMachineConfiguration,omitempty"`
|
|
}
|