9aa4718a2cec0e2aa18adaa4e4aa70bfe4d8b1b1
[genesis.git] / fuel / build / f_l23network / 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 add entries to /etc/hosts through Astute.
12
13 The astute.yaml file should contain entries as those below to have them picked up during deployment:
14
15 opnfv:
16   hosts:
17   - name: test1
18     address: 192.168.100.100
19     fqdn: test1.opnfv.org
20   - name: test2
21     address: 192.168.100.101
22     fqdn: test2.opnfv.org
23   - name: test3
24     address: 192.168.100.102
25     fqdn: test3.opnfv.org
26
27 The suggested method for adding this information is to prepare for deployment with the Fuel GUI or CLI,
28 but before actually deploying:
29
30 1. Download the current deployment for all hosts: fuel --env 1 deployment --default
31 2. Iterate through the hosts in "deployment_1" and add hosts configuration in the above format to their
32    respective yaml file.
33 3. Upload the modifed deployment information: fuel --env 1 deployment --upload
34
35 After deploying, the additions will be included in /etc/astute.yaml of each host.