Skip to content

feat(instances): Add plugins flag - #482

Open
dragosgheorghioiu wants to merge 1 commit into
prod-stagingfrom
dragosg/feat/instance-plugins
Open

feat(instances): Add plugins flag#482
dragosgheorghioiu wants to merge 1 commit into
prod-stagingfrom
dragosg/feat/instance-plugins

Conversation

@dragosgheorghioiu

Copy link
Copy Markdown
Contributor

Add --plugin to instance create, mirroring the API's instance.plugins: a name, the ROM to load it from, and an optional JSON config blob.

value.Parse learns JSON object syntax for struct values and splits only on top-level commas, so a plugin's config survives being passed inline alongside the other key=value pairs.

Signed-off-by: Dragos Gheorghioiu <dragosg@unikraft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant