Merge pull request #6563 from nyetwurk/patch-2

Fix issue #6561 - Pass "--config" option correctly to "lxc launch"
pull/6576/head
Megan Marsh 8 years ago committed by GitHub
commit 0633189c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save