summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster
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-10 11:19:31 +0000
commit0d09880e386c03077cde68a219924eab182c5b4c (patch)
treebc4adbc00f85059e17f71e4572776e1685333c3c /mcp/reclass/classes/cluster
parentf021e19b4797eb4f6830d86056fce919f1e1fe01 (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> (cherry picked from commit f4f2820028953e970f1216846be25079cdadcd24)
Diffstat (limited to 'mcp/reclass/classes/cluster')
-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: