Commit 68c5a7e8 authored by Rémi Duraffort's avatar Rémi Duraffort
Browse files

qemu: allow to use the new AppendOverlays action

This keys under "overlays" should not have any "image_arg" as they are not used
directly in the qemu command line.

Signed-off-by: default avatarRémi Duraffort <>
parent 833112bc
......@@ -194,7 +194,7 @@ class CallQemuAction(Action):
action="download-action", label=label, key="file"
if not image_arg or not action_arg:
self.errors = "Missing image_arg for %s. " % label
self.logger.warning("Missing image arg for %s", label)
......@@ -236,7 +236,8 @@ class CallQemuAction(Action):
action_arg = self.get_namespace_data(
action="download-action", label=label, key="file"
substitutions["{%s}" % label] = action_arg
if image_arg is not None:
substitutions["{%s}" % label] = action_arg
substitutions["{NFS_SERVER_IP}"] = dispatcher_ip(
self.job.parameters["dispatcher"], "nfs"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment