On Sun, Jul 19, 2020 at 04:15:17PM +0100, lik...@gmx.de wrote:
> Hi!
>
> I'm trying to create a DVM from a TemplateVM which is also created in the
> same file. The DVM depends on the TemplateVM and that's why the creation
> fails. Running the script twice works.
>
> My top files looks similar to:
>
> base:
> ??dom0:
> ?? - match: nodegroup
> ?? - create-template-vm
> ?? - create-dvm
>
> I've played around with the "require" or "order" key words, but it doesn't
> work:
>
> base:
> ??dom0:
> ?? - match: nodegroup
> ?? - create-template-vm
> ?? - create-dvm
> ?? - order: last
>
> Error is:
> Rendering exception occurred: Jinja error: mapping values are not allowed
> here; line 6
>
> Any ideas to enforce an order during vm creation?
>
> Thanks a lot in advance! P.
>
Dont put both entries in the top file: - you can use only `create-dvm`.
`require` and `order` are connections between **states** - put them in
the state file.
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/20200720114521.GC9057%40thirdeyesecurity.org.