Skip to content

Commit

Permalink
feat: set environment variables early in the boot
Browse files Browse the repository at this point in the history
Fixes siderolabs#7696

This allows to set env variables from `talos.environment=` command line
arg.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
(cherry picked from commit d91b5b3)
  • Loading branch information
smira committed Sep 5, 2023
1 parent 4552014 commit e713043
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func (*Sequencer) Initialize(r runtime.Runtime) []runtime.Phase {
"etc",
CreateSystemCgroups,
CreateOSReleaseFile,
SetUserEnvVars,
).Append(
"machined",
StartMachined,
Expand All @@ -105,6 +106,7 @@ func (*Sequencer) Initialize(r runtime.Runtime) []runtime.Phase {
"etc",
CreateSystemCgroups,
CreateOSReleaseFile,
SetUserEnvVars,
).Append(
"earlyServices",
StartUdevd,
Expand Down

0 comments on commit e713043

Please sign in to comment.