1e5cd6ed08b4cef5ff6308b2657b21e61a55a451
[fuel.git] / mcp / config / scenario / defaults.yaml.j2
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 %}
9 ---
10 x86_64:
11   default:
12     disks: 100G  # ';'-separated list of disk drives to create
13     vcpus: 4
14     ram: 8192
15     cluster: &arch_default_cluster_states
16       states:
17         - virtual_init
18 {%- if nm.cluster.has_baremetal_nodes %}
19         - maas
20         - baremetal_init
21 {%- if conf.MCP_VCP %}
22         - virtual_control_plane
23 {%- endif %}
24 {%- endif %}
25   ubuntu1804:
26     base_image: https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
27     common:
28       repo:
29         keys:
30           - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
31         repos:
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
34       pkg:
35         install:
36           - linux-generic-hwe-18.04
37           - salt-minion
38           - ifupdown
39           - cloud-init
40           - dnsmasq
41     control:
42       repo: ~
43       pkg:
44         install:
45           - cloud-init
46   ubuntu1604:
47     base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
48     common:
49       repo:
50         keys:
51           - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
52         repos:
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
55       pkg:
56         install:
57           - linux-generic-hwe-16.04
58           - salt-minion
59     control:
60       repo: ~
61       pkg:
62         install:
63           - cloud-init
64   centos7:
65     base_image: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
66     common:
67       repo:
68         keys:
69           - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
70         repos:
71           # <repo name> <repo prio> rpm <repo url>
72           - saltstack 0 rpm https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
73       pkg:
74         install:
75           - salt-minion
76           - epel-release
77           - git
78     control:
79       repo: ~
80       pkg:
81         install:
82           - cloud-init
83 aarch64:
84   default:
85     disks: 100G  # ';'-separated list of disk drives to create
86     vcpus: 6
87     ram: 4096
88     cluster: *arch_default_cluster_states
89   ubuntu1804:
90     base_image: https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-arm64.img
91     common:
92       repo:
93         keys:
94           - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
95         repos:
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
98       pkg:
99         install:
100           - linux-generic-hwe-18.04
101           - salt-minion
102           - ifupdown
103           - cloud-init
104           - dnsmasq
105     control:
106       repo: ~
107       pkg:
108         install:
109           - cloud-init
110   ubuntu1604:
111     base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
112     common:
113       repo:
114         keys:
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
117         repos:
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
121       pkg:
122         install:
123   {%- if '-iec-' in conf.MCP_DEPLOY_SCENARIO %}
124           - linux-generic-hwe-16.04
125   {%- endif %}
126           - python-futures
127           - salt-minion
128     control:
129       repo: ~
130       pkg:
131         install:
132           - cloud-init
133   centos7:
134     base_image: https://cloud.centos.org/altarch/7/images/aarch64/CentOS-7-aarch64-GenericCloud.qcow2.xz
135     common:
136       repo:
137         keys:
138           - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
139         repos:
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
143       pkg:
144         install:
145           - salt-minion
146           - epel-release
147           - git
148     control:
149       repo: ~
150       pkg:
151         install:
152           - cloud-init