1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#
# Script to produce some dummy output to satisfy contrail-nodemgr ntp status
# Note: This is intended to be deployed inside containers where the host is running ntp
echo "###############################################################################"
echo "# [ WARNING ] #"
echo "# #"
echo "# This is the output of a custom ntpq binary installed under /usr/local/bin. #"
echo "# #"
echo "# Purpose of this binary is to fool contrail-status into thinking ntp has #"
echo "# associated with a peer. #"
echo "# This is for the purposes of running Contrail programs inside containers #"
echo "# where the host itself will be ntp synced. #"
echo "# #"
echo "# Remove this binary or alter your PATH to use the real ntpq binary. #"
echo "###############################################################################"
echo
echo "*"
|