2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
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 ##############################################################################
11 # Adapt this script according to your network setup
12 # TODO Get networking info from PDF & IDF
13 # TODO Add support in infra engine to update nameserver, etc
14 # files with correct info
16 echo nameserver 8.8.8.8 > /etc/resolv.conf
17 sed -i 's/NM_CONTROLLED=yes/NM_CONTROLLED=no/g' \
18 /etc/sysconfig/network-scripts/ifcfg-eth2
19 echo GATEWAY=10.10.190.1 >> /etc/sysconfig/network-scripts/ifcfg-eth2