diff options
author | Michael Chapman <michapma@redhat.com> | 2016-09-20 17:38:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-20 17:38:50 +0000 |
commit | fc56e252e8d998015cc0eadb67eec1980972b8c3 (patch) | |
tree | 79f98a2c9d9543bea71d264c36a7dddec05cb6de /ci | |
parent | 6562f4c130c4761c8659b56b4be68ee4ff598ea8 (diff) | |
parent | f8b642fcbd7433957b14aaed9b16f54f981f522b (diff) |
Merge "Change NTP update failure to warning"
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 0a2eec2e..ee0ea3ba 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -225,11 +225,10 @@ main() { exit 1 fi #Correct the time on the server prior to launching any VMs - ntpdate $ntp_server - if [ $? == 0 ]; then + if ntpdate $ntp_server; then hwclock --systohc - else - echo -e "${red} ERROR: ntpdate failed to update the time on the server. ${reset}" + else + echo "${blue}WARNING: ntpdate failed to update the time on the server. ${reset}" fi setup_undercloud_vm if [ "$virtual" == "TRUE" ]; then |