0c3e41384a
So that we can stop dealing with distro or provider images, just start building our own images. Depends-On: https://review.openstack.org/640027 Change-Id: I8f1d15024dd5d8162cad9e8e2f7e5f12851dd448
18 lines
277 B
Bash
Executable File
18 lines
277 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
case "$DIB_INIT_SYSTEM" in
|
|
systemd)
|
|
systemctl enable ntp.service
|
|
;;
|
|
*)
|
|
echo "Unsupported init system $DIB_INIT_SYSTEM"
|
|
exit 1
|
|
;;
|
|
esac
|