Merge pull request #6563 from nyetwurk/patch-2

Fix issue #6561 - Pass "--config" option correctly to "lxc launch"
This commit is contained in:
Megan Marsh 2018-08-02 12:58:09 -07:00 committed by GitHub
commit 0633189c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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...")