Code Review
/
apex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
19d23f8
)
Merge "Correct time on jump host prior to launching VMs"
author
Dan Radez
<dradez@redhat.com>
Tue, 13 Sep 2016 18:19:07 +0000
(18:19 +0000)
committer
Gerrit Code Review
<gerrit@172.30.200.206>
Tue, 13 Sep 2016 18:19:07 +0000
(18:19 +0000)
ci/deploy.sh
patch
|
blob
|
history
diff --git
a/ci/deploy.sh
b/ci/deploy.sh
index
0044197
..
0a2eec2
100755
(executable)
--- a/
ci/deploy.sh
+++ b/
ci/deploy.sh
@@
-224,6
+224,13
@@
main() {
echo -e "${red}Dependency Validation Failed, Exiting.${reset}"
exit 1
fi
+ #Correct the time on the server prior to launching any VMs
+ ntpdate $ntp_server
+ if [ $? == 0 ]; then
+ hwclock --systohc
+ else
+ echo -e "${red} ERROR: ntpdate failed to update the time on the server. ${reset}"
+ fi
setup_undercloud_vm
if [ "$virtual" == "TRUE" ]; then
setup_virtual_baremetal $VM_CPUS $VM_RAM