summaryrefslogtreecommitdiffstats
path: root/fuel-build/f_resolvconf/README
blob: 77c6e6a1995bc117db4195eced4c7b5d59910f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
##############################################################################
# Copyright (c) 2015 Ericsson AB and others.
# stefan.k.berg@ericsson.com
# jonas.bjurel@ericsson.com
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

Addition to generate resolv.conf separately for compute hosts and controller
hosts through Astute.

The astute.yaml file should contain entries as those below to have them picked
up during deployment:

opnfv:
  dns:
    compute:
    - 100.100.100.2
    - 100.100.100.3
    controller:
    - 100.100.100.102
    - 100.100.100.104

The suggested method for adding this information is to prepare for deployment
with the Fuel GUI or CLI, but before actually deploying:

1. Download the current deployment for all hosts: fuel --env 1 deployment --default
2. Iterate through the hosts in "deployment_1" and add hosts configuration in
   the above format to their respective yaml file.
3. Upload the modifed deployment information: fuel --env 1 deployment --upload

After deploying, the additions will be included in /etc/astute.yaml of each
host.