5ff570f0a783fd93616a3b5c23e7d73258aee956
[genesis.git] / fuel / build / f_resolvconf / README
1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 # stefan.k.berg@ericsson.com
4 # jonas.bjurel@ericsson.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 Addition to generate resolv.conf separately for compute hosts and controller
12 hosts through Astute.
13
14 The astute.yaml file should contain entries as those below to have them picked
15 up during deployment:
16
17 opnfv:
18   dns:
19     compute:
20     - 100.100.100.2
21     - 100.100.100.3
22     controller:
23     - 100.100.100.102
24     - 100.100.100.104
25
26 The suggested method for adding this information is to prepare for deployment
27 with the Fuel GUI or CLI, but before actually deploying:
28
29 1. Download the current deployment for all hosts: fuel --env 1 deployment --default
30 2. Iterate through the hosts in "deployment_1" and add hosts configuration in
31    the above format to their respective yaml file.
32 3. Upload the modifed deployment information: fuel --env 1 deployment --upload
33
34 After deploying, the additions will be included in /etc/astute.yaml of each
35 host.
36