ironic-python-agent-builder/tinyipa/build_files/ntpdate
Julia Kreger 789ebe1e95 Add ntpdate/ntpclient/chrony
Adds ntpdate to the binary package list for the diskimage-builder
element, and added ntpclient to the tinycore package list and added
a small shim to wrap ntpclient as ntpdate is not a native tinycore
package.

For larger ramdisks, we attempt to use chrony, which superceeds the ntp
package as a combined time server and client.

Change-Id: If99f2df31af8e4d41ad7813d25f0d779abc23f7a
Needed-By: https://review.opendev.org/#/c/707911/
2020-02-17 13:11:04 -08:00

7 lines
110 B
Bash
Executable File

#!/bin/sh
if [ "$1" = "-v" ]; then
echo "Magical ntpdate Wrapper 0.0.1"
exit 0
fi
ntpclient -h $1 -s