2016-01-28 21:37:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
|
|
set -x
|
|
|
|
fi
|
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
# gentoo
|
|
|
|
if [[ "${DISTRO_NAME}" == "gentoo" ]]; then
|
|
|
|
rc-update add cloud-config default
|
|
|
|
rc-update add cloud-final default
|
2016-10-07 16:16:28 +00:00
|
|
|
rc-update add cloud-init-local boot
|
2016-01-28 21:37:20 +00:00
|
|
|
rc-update add cloud-init default
|
|
|
|
fi
|