sync /etc/resolv.conf in cache to disk

Change-Id: I969fbda4e34971ad06fa4f23ea59647038f3e6ae
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
This commit is contained in:
Zhijiang Hu 2018-04-14 00:47:58 +08:00
parent 07023bdb8d
commit 5aa0892341
1 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,13 @@ fi
echo "nameserver 8.8.8.8" > /etc/resolv.conf
daisy_management_ip=$1
# sync /etc/resolv.conf in cache to disk...
sync
sync
sync
sleep 3
yum -y install epel-release
yum clean all
yum -y install centos-release-openstack-queens