2013-06-12 01:28:27 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2014-09-04 04:56:29 +00:00
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
|
|
set -x
|
|
|
|
fi
|
2014-03-29 03:28:22 +00:00
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
|
|
|
|
2013-06-12 01:28:27 +00:00
|
|
|
# without these files, cloud-init will not perform stock operations such as
|
|
|
|
# generating sshd hostkeys.
|
|
|
|
|
|
|
|
mkdir -p /var/lib/cloud/seed/nocloud
|
|
|
|
touch /var/lib/cloud/seed/nocloud/user-data
|
|
|
|
touch /var/lib/cloud/seed/nocloud/meta-data
|