e0f0e2105f
Partially-implements: blueprint ironic-container Change-Id: I7869c49c851a95c12fffaf426abd6625f3f1a212
12 lines
232 B
Bash
12 lines
232 B
Bash
#!/bin/bash
|
|
|
|
SOURCE="/opt/kolla/ironic-discoverd/discoverd.conf"
|
|
TARGET="/etc/ironic-discoverd/discoverd.conf"
|
|
OWNER="ironic"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|