Skip to content
Snippets Groups Projects
Commit 6ace059c authored by Matias Daniel Capucho Cirlinas's avatar Matias Daniel Capucho Cirlinas
Browse files

Add compute1 scritps n books

parent bd251fce
No related branches found
No related tags found
No related merge requests found
Showing
with 96 additions and 4 deletions
File added
File added
DEVICE=br-mgmt
BOOTPROTO=none
IPADDR=10.0.1.12
PREFIX=24
GATEWAY=10.0.1.1
DNS1=172.16.0.1
ONBOOT=yes
TYPE=Bridge
NM_CONTROLLED=no
DEVICE=br-storage
BOOTPROTO=none
IPADDR=10.0.2.12
PREFIX=24
ONBOOT=yes
TYPE=Bridge
NM_CONTROLLED=no
DEVICE=br-vxlan
BOOTPROTO=none
IPADDR=10.10.10.12
PREFIX=24
ONBOOT=yes
TYPE=Bridge
NM_CONTROLLED=no
TYPE="Ethernet"
BOOTPROTO=none
DEVICE=eth0
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=br-mgmt
TYPE="Ethernet"
BOOTPROTO=none
DEVICE=eth1
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=br-storage
TYPE="Ethernet"
BOOTPROTO=none
DEVICE=eth2
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=br-vxlan
#!/bin/bash
echo "CONFIGURANDO PROXY ..."
sleep 1
echo "http_proxy=http://10.0.1.1:3128" >> /etc/enviroment
echo "https_proxy=http://10.0.1.1:3128" >> /etc/enviroment
echo "HTTP_PROXY=http://10.0.1.1:3128" >> /etc/enviroment
echo "HTTPS_PROXY=http://10.0.1.1:3128" >> /etc/enviroment
echo "http_proxy=http://10.0.1.1:3128" >> /etc/environment
echo "https_proxy=http://10.0.1.1:3128" >> /etc/environment
echo "HTTP_PROXY=http://10.0.1.1:3128" >> /etc/environment
echo "HTTPS_PROXY=http://10.0.1.1:3128" >> /etc/environment
for env in $( cat /etc/environment ); do export $(echo $env | sed -e 's/"//g'); done
echo "ACTUALIZANDO CentOS 7..."
......
DEVICE=br-mgmt
BOOTPROTO=none
IPADDR=10.0.1.11
PREFIX=24
GATEWAY=10.0.1.1
DNS1=8.8.8.8
DNS2=172.16.0.1
ONBOOT=yes
TYPE=Bridge
NM_CONTROLLED=no
DEVICE=br-storage
BOOTPROTO=none
IPADDR=10.0.2.11
PREFIX=24
ONBOOT=yes
TYPE=Bridge
NM_CONTROLLED=no
DEVICE=br-vxlan
BOOTPROTO=none
IPADDR=10.10.10.11
PREFIX=24
ONBOOT=yes
TYPE=Bridge
NM_CONTROLLED=no
TYPE="Ethernet"
BOOTPROTO=none
DEVICE=enp0s3
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=br-mgmt
TYPE="Ethernet"
BOOTPROTO=none
DEVICE=enp0s8
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=br-storage
TYPE="Ethernet"
BOOTPROTO=none
DEVICE=enp0s9
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=br-vxlan
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment