Fix issue #6561 - Pass "--config" option correctly to "lxc launch"
This commit is contained in:
parent
f3ef599f1c
commit
6d6212b75e
|
@ -26,7 +26,7 @@ func (s *stepLxdLaunch) Run(_ context.Context, state multistep.StateBag) multist
|
|||
}
|
||||
|
||||
for k, v := range config.LaunchConfig {
|
||||
launch_args = append(launch_args, fmt.Sprintf("--config %s=%s", k, v))
|
||||
launch_args = append(launch_args, "--config", fmt.Sprintf("%s=%s", k, v))
|
||||
}
|
||||
|
||||
ui.Say("Creating container...")
|
||||
|
|
Loading…
Reference in New Issue