mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-08-16 15:29:45 +00:00
Restore loading env from config file (#124)
This commit is contained in:
parent
b5e1e7a8ee
commit
1a72f56d67
@ -226,6 +226,9 @@ func Install(dir ...string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func RunInstall(c *config.Config) error {
|
func RunInstall(c *config.Config) error {
|
||||||
|
utils.SetEnv(c.Env)
|
||||||
|
utils.SetEnv(c.Install.Env)
|
||||||
|
|
||||||
if c.Install.Device == "" || c.Install.Device == "auto" {
|
if c.Install.Device == "" || c.Install.Device == "auto" {
|
||||||
c.Install.Device = detectDevice()
|
c.Install.Device = detectDevice()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user