Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Error if image= is enabled with factory templating #948

Closed
jodh-intel opened this issue Nov 28, 2018 · 0 comments
Closed

Error if image= is enabled with factory templating #948

jodh-intel opened this issue Nov 28, 2018 · 0 comments
Assignees

Comments

@jodh-intel
Copy link
Contributor

jodh-intel commented Nov 28, 2018

The VM template factory requires an initrd= to be configured - image= is not supported. However, this is not documented in the configuration file and if you do happen to enable the factory templating feature without also setting initrd= you get this error:

failed to create new vm

(Reported on #945).

@jodh-intel jodh-intel self-assigned this Nov 28, 2018
jodh-intel added a commit to jodh-intel/runtimes that referenced this issue Nov 28, 2018
If VM factory templating is enabled (`enable_template=true`), error if
the configured image is not an `initrd=` one.

Also add a note to the config file explaining that a normal image cannot
be used - only initrd images are supported.

Fixes kata-containers#948.

Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel added a commit to jodh-intel/runtimes that referenced this issue Nov 28, 2018
If VM factory templating is enabled (`enable_template=true`), error if
the configured image is not an `initrd=` one.

Also add a note to the config file explaining that a normal image cannot
be used - only initrd images are supported.

Fixes kata-containers#948.

Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel added a commit to jodh-intel/runtimes that referenced this issue Nov 29, 2018
If VM factory templating is enabled (`enable_template=true`), error if
the configured image is not an `initrd=` one.

Also add a note to the config file explaining that a normal image cannot
be used - only initrd images are supported.

Fixes kata-containers#948.

Signed-off-by: James O. D. Hunt <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant