Commit 4f3e63d2 authored by Rémi Duraffort's avatar Rémi Duraffort
Browse files

Fix nbd deploy

The image type was not taken into account due to the missing PrepareKernelAction

Signed-off-by: default avatarRémi Duraffort <>
parent 3df5cacb
......@@ -33,6 +33,7 @@ from import which
from lava_dispatcher.utils import filesystem
from lava_dispatcher.protocols.xnbd import XnbdProtocol
from lava_dispatcher.actions.deploy.overlay import OverlayAction
from lava_dispatcher.actions.deploy.prepare import PrepareKernelAction
class Nbd(Deployment):
......@@ -150,6 +151,8 @@ class NbdAction(DeployAction): # pylint:disable=too-many-instance-attributes
# prepare overlay
if "kernel" in parameters and "type" in parameters["kernel"]:
# setup values for protocol and later steps
......@@ -18,6 +18,10 @@
- {class:, name: http-download}
- {class: actions.deploy.overlay.OverlayAction, name: lava-overlay}
- class: actions.deploy.prepare.PrepareKernelAction
name: prepare-kernel
- {class: actions.deploy.prepare.UBootPrepareKernelAction, name: uboot-prepare-kernel}
- {class: actions.deploy.nbd.XnbdAction, name: xnbd-server-deploy}
- class: actions.boot.u_boot.UBootAction
name: uboot-action
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