1ae703e4a4
novajoin is a nova vendordata service that enables the enrollment of nova instances into freeIPA. Change-Id: Ia1c0f896ef45b8bb00d0354e7343c7eb4e060fd1
11 lines
248 B
Bash
11 lines
248 B
Bash
#!/bin/bash
|
|
|
|
if [[ ! -d "/var/log/kolla/novajoin" ]]; then
|
|
mkdir -p /var/log/kolla/novajoin
|
|
fi
|
|
if [[ $(stat -c %a /var/log/kolla/novajoin) != "755" ]]; then
|
|
chmod 755 /var/log/kolla/novajoin
|
|
fi
|
|
|
|
. /usr/local/bin/kolla_novajoin_extend_start
|