summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-ha
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2019-04-01 16:25:49 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2019-04-08 15:44:44 +0200
commitf4f2820028953e970f1216846be25079cdadcd24 (patch)
tree4db2475ee94cb04608b20f7d13bc6123da07b356 /mcp/reclass/classes/cluster/mcp-common-ha
parent7a31d776d4bdf122d4c4c8f732304cc83621bdd6 (diff)
[VCP VMs] AArch64: Switch seeding back to qemu-nbd
Upstream change [1] switched from old qemu-nbd preseeding of VCP VMs to using a cloud-init + configuration drive. This breaks on AArch64 with "IDE controllers are unsupported for this QEMU binary or machine type", so switch back to using qemu-nbd. [1] https://github.com/Mirantis/reclass-system-salt-model/commit/c0e4807 Change-Id: I0dfeb638d408343c76a73fafa503048a79ce1f6e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-common-ha')
-rw-r--r--mcp/reclass/classes/cluster/mcp-common-ha/infra/kvm.yml.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-ha/infra/kvm.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-ha/infra/kvm.yml.j2
index 5a6f27827..6ae5b0221 100644
--- a/mcp/reclass/classes/cluster/mcp-common-ha/infra/kvm.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-common-ha/infra/kvm.yml.j2
@@ -101,6 +101,8 @@ parameters:
mdb01: &salt_control_xenial_image_common_attr
image: ${_param:salt_control_xenial_image}
{%- if conf.nodes[nm.ctl01.idx].node.arch == 'aarch64' %}
+ seed: qemu-nbd
+ ~cloud_init: ~
machine: virt
cpu_mode: host-passthrough
loader: