diff --git a/builder/lxd/step_lxd_launch.go b/builder/lxd/step_lxd_launch.go index 55b7e4954..a2baf2b11 100644 --- a/builder/lxd/step_lxd_launch.go +++ b/builder/lxd/step_lxd_launch.go @@ -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...")