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