summaryrefslogtreecommitdiffstats
path: root/hw_config/intel/setup_network.sh
blob: a6ff6df8168ba0721b184d84e39ee862e6238fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Adapt this script according to your network setup
# TODO Get networking info from PDF & IDF
# TODO Add support in infra engine to update nameserver, etc
# files with correct info
#!/bin/bash

echo nameserver 8.8.8.8 > /etc/resolv.conf
sed -i 's/NM_CONTROLLED=yes/NM_CONTROLLED=no/g' /etc/sysconfig/network-scripts/ifcfg-eth2
echo GATEWAY=10.10.190.1 >> /etc/sysconfig/network-scripts/ifcfg-eth2
ifup eth2