1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #609 from jvonau/1207

ifcfg is redhat only
This commit is contained in:
A Holt 2017-12-07 18:27:04 -05:00 committed by GitHub
commit 8dbc1f6f05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ ansible-playbook -i ansible_hosts iiab-network.yml --connection=local
End=`date`
echo "" >> iiab-network.log
# redhat path
if [ ! "OS" == "debian" ] && [ ! "OS" == "unknown" ]; then
if [ "OS" == "centos" ] || [ "OS" == "fedora" ]; then
ls -la /etc/sys*/net*/ifcfg* >> iiab-network.log
fi
# ubuntu destop might be using NM - split out.
@ -38,12 +38,12 @@ fi
echo "" >> iiab-network.log
ip r >> iiab-network.log
echo "" >> iiab-network.log
brctl show br0>> iiab-network.log
brctl show >> iiab-network.log
echo "run start: $Start" >> iiab-network.log
echo "run end: $End" >> iiab-network.log
echo "" >> iiab-network.log
echo "" >> iiab-network.log
ip r
brctl show br0
brctl show
echo "run start:$Start"
echo "run end: $End"