1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 {%- import 'net_map.j2' as nm with context %}
12 disks: 100G # ';'-separated list of disk drives to create
15 cluster: &arch_default_cluster_states
18 {%- if nm.cluster.has_baremetal_nodes %}
21 {%- if conf.MCP_VCP %}
22 - virtual_control_plane
26 base_image: https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
30 - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
32 # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
33 - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7 bionic main
36 - linux-generic-hwe-18.04
47 base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
51 - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
53 # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
54 - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
57 - linux-generic-hwe-16.04
65 base_image: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
69 - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
71 # <repo name> <repo prio> rpm <repo url>
72 - saltstack 0 rpm https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
85 disks: 100G # ';'-separated list of disk drives to create
88 cluster: *arch_default_cluster_states
90 base_image: https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-arm64.img
94 - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
96 # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
97 - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7 bionic main
100 - linux-generic-hwe-18.04
111 base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
115 - https://linux.enea.com/mcp-repos/rocky/xenial/archive-mcprocky.key
116 - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
118 # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
119 - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
120 - armband_3 1201 deb [arch=arm64] http://linux.enea.com/mcp-repos/rocky/xenial rocky-armband main
123 {%- if '-iec-' in conf.MCP_DEPLOY_SCENARIO %}
124 - linux-generic-hwe-16.04
134 base_image: https://cloud.centos.org/altarch/7/images/aarch64/CentOS-7-aarch64-GenericCloud.qcow2.xz
138 - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
140 # <repo name> <repo prio> rpm <repo url>
141 - openstack-rocky 0 rpm http://mirror.centos.org/altarch/$releasever/cloud/aarch64/openstack-rocky
142 - saltstack 0 rpm https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7