/usr/share/tripleo-image-elements/seed-stack-config/install.d/01-seed-stack-heat-metadata is in python-tripleo-image-elements 0.7.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/bash
set -eux
mkdir -p /var/lib/cloud/data
CONFIG_DIR="$(dirname $0)/../"
if [ -e "$CONFIG_DIR/local.json" ]; then
CONFIG_FILE="$CONFIG_DIR/local.json"
else
echo "Deprecated: Using config.json rather than local.json" >&2
CONFIG_FILE="$CONFIG_DIR/config.json"
fi
install -D -m 0755 -o root -g root "$CONFIG_FILE" /var/lib/heat-cfntools/cfn-init-data
|