697a8f70d2988bf8c8bc7429d3e24fc50d631896
[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           - salt-minion
37           - ifupdown
38           - cloud-init
39           - dnsmasq
40     control:
41       repo: ~
42       pkg:
43         install:
44           - cloud-init
45   ubuntu1604:
46     base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
47     common:
48       repo:
49         keys:
50           - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
51         repos:
52           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
53           - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
54       pkg:
55         install:
56           - linux-generic-hwe-16.04
57           - salt-minion
58     control:
59       repo: ~
60       pkg:
61         install:
62           - cloud-init
63   centos7:
64     base_image: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
65     common:
66       repo:
67         keys:
68           - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
69         repos:
70           # <repo name> <repo prio> rpm <repo url>
71           - saltstack 0 rpm https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
72       pkg:
73         install:
74           - salt-minion
75           - epel-release
76           - git
77     control:
78       repo: ~
79       pkg:
80         install:
81           - cloud-init
82 aarch64:
83   default:
84     disks: 100G  # ';'-separated list of disk drives to create
85     vcpus: 6
86     ram: 4096
87     cluster: *arch_default_cluster_states
88   ubuntu1804:
89     base_image: https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-arm64.img
90     common:
91       repo:
92         keys:
93           - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
94         repos:
95           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
96           - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7 bionic main
97       pkg:
98         install:
99           - salt-minion
100           - ifupdown
101           - cloud-init
102           - dnsmasq
103     control:
104       repo: ~
105       pkg:
106         install:
107           - cloud-init
108   ubuntu1604:
109     base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
110     common:
111       repo:
112         keys:
113           - https://linux.enea.com/mcp-repos/rocky/xenial/archive-mcprocky.key
114           - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
115         repos:
116           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
117           - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
118           - armband_3 1201 deb [arch=arm64] http://linux.enea.com/mcp-repos/rocky/xenial rocky-armband main
119       pkg:
120         install:
121   {%- if '-iec-' in conf.MCP_DEPLOY_SCENARIO %}
122           - linux-generic-hwe-16.04
123   {%- endif %}
124           - python-futures
125           - salt-minion
126     control:
127       repo: ~
128       pkg:
129         install:
130           - cloud-init
131   centos7:
132     base_image: https://cloud.centos.org/altarch/7/images/aarch64/CentOS-7-aarch64-GenericCloud.qcow2.xz
133     common:
134       repo:
135         keys:
136           - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
137         repos:
138           # <repo name> <repo prio> rpm <repo url>
139           - openstack-rocky 0 rpm http://mirror.centos.org/altarch/$releasever/cloud/aarch64/openstack-rocky
140           - saltstack 0 rpm https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
141       pkg:
142         install:
143           - salt-minion
144           - epel-release
145           - git
146     control:
147       repo: ~
148       pkg:
149         install:
150           - cloud-init