Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Do not use the Storage/Client in ignite-spawn #257

Merged
merged 3 commits into from
Jul 31, 2019

Conversation

luxas
Copy link
Contributor

@luxas luxas commented Jul 31, 2019

This partly fixes/unblocks: #256, and helps towards #255.
Fixes #261

@luxas luxas added this to the v0.5.0 milestone Jul 31, 2019
Copy link
Contributor

@twelho twelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@@ -49,7 +47,7 @@ func StartVM(vm *api.VM, debug bool) error {
}

config := &runtime.ContainerConfig{
Cmd: []string{vm.GetUID().String(), "--log-level", logs.Logger.Level.String()},
Cmd: []string{fmt.Sprintf("--log-level=%s", logs.Logger.Level.String()), vm.GetUID().String()},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call!

{
// Mount the metadata.json file specifically into the container, to a well-known place for ignite-spawn to access
HostPath: path.Join(vmDir, constants.METADATA),
ContainerPath: constants.IGNITE_SPAWN_VM_FILE_PATH,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good as well

@twelho twelho merged commit cf77289 into weaveworks:master Jul 31, 2019
@luxas luxas added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make ignite-spawn patch the config file without the Client
2 participants