[virtual] Add Ubuntu 18.04 (Bionic) basic support
[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     control:
77       repo: ~
78       pkg:
79         install:
80           - cloud-init
81 aarch64:
82   default:
83     disks: 100G  # ';'-separated list of disk drives to create
84     vcpus: 6
85     ram: 4096
86     cluster: *arch_default_cluster_states
87   ubuntu1804:
88     base_image: https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-arm64.img
89     common:
90       repo:
91         keys:
92           - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
93         repos:
94           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
95           - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7 bionic main
96       pkg:
97         install:
98           - salt-minion
99           - ifupdown
100           - cloud-init
101           - dnsmasq
102     control:
103       repo: ~
104       pkg:
105         install:
106           - cloud-init
107   ubuntu1604:
108     base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
109     common:
110       apt:
111         keys:
112           - https://linux.enea.com/mcp-repos/rocky/xenial/archive-mcprocky.key
113           - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
114         repos:
115           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
116           - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
117           - armband_3 1201 deb [arch=arm64] http://linux.enea.com/mcp-repos/rocky/xenial rocky-armband main
118       pkg:
119         install:
120   {%- if '-iec-' in conf.MCP_DEPLOY_SCENARIO %}
121           - linux-generic-hwe-16.04
122   {%- endif %}
123           - python-futures
124           - salt-minion
125     control:
126       apt: ~
127       pkg:
128         install:
129           - cloud-init
130   centos7:
131     base_image: https://cloud.centos.org/altarch/7/images/aarch64/CentOS-7-aarch64-GenericCloud.qcow2.xz
132     common:
133       repo:
134         keys:
135           - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
136         repos:
137           # <repo name> <repo prio> rpm <repo url>
138           - openstack-rocky 0 rpm http://mirror.centos.org/altarch/$releasever/cloud/aarch64/openstack-rocky
139           - saltstack 0 rpm https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
140       pkg:
141         install:
142           - salt-minion
143           - epel-release
144     control:
145       repo: ~
146       pkg:
147         install:
148           - cloud-init