summaryrefslogtreecommitdiffstats
path: root/fuel/build/f_l23network/README
blob: 9aa4718a2cec0e2aa18adaa4e4aa70bfe4d8b1b1 (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 add entries to /etc/hosts through Astute.

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

opnfv:
  hosts:
  - name: test1
    address: 192.168.100.100
    fqdn: test1.opnfv.org
  - name: test2
    address: 192.168.100.101
    fqdn: test2.opnfv.org
  - name: test3
    address: 192.168.100.102
    fqdn: test3.opnfv.org

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.