Commit b9f8fe46 authored by Jan Siersch's avatar Jan Siersch
Browse files

- fix: empty path as part of config dir loop

- test: installed controlnode setup on a vanilla CentOS 7 VM
- bugs: mariadb throws a fit when it is being started the first time
- bugs: the one I mentioned in the first commit line (fixed)
- bugs: nova-api crashes (probably because of vm without DNS name)
parent eec3d58d
......@@ -103,12 +103,16 @@ fi
if [[ $doBasicConfiguration == true ]]; then
echo "### basic configuration ###"
for i in $(find "../config/computenode" -type d); do
mkdir -p "${i:21}"
for i in $(find "../config/computenode/etc" -type d); do
mkdir -p "${i:21}"
chmod 755 "${i:21}"
chown root:root "${i:21}"
done
for i in $(find "../config/computenode" -type f); do
for i in $(find "../config/computenode/etc" -type f); do
placeConfigFile "$i" "${i:21}"
chmod 644 "${i:21}"
chown root:root "${i:21}"
done
for i in /etc/neutron/plugins/*/*; do
......
......@@ -92,13 +92,13 @@ fi
if [[ $doBasicConfiguration == true ]]; then
echo "### basic configuration ###"
for i in $(find "../config/controlnode" -type d); do
for i in $(find "../config/controlnode/etc" -type d); do
mkdir -p "${i:21}"
chmod 755 "${i:21}"
chown root:root "${i:21}"
done
for i in $(find "../config/controlnode" -type f); do
for i in $(find "../config/controlnode/etc" -type f); do
placeConfigFile "$i" "${i:21}"
chmod 644 "${i:21}"
chown root:root "${i:21}"
......
......@@ -108,12 +108,16 @@ fi
if [[ $doBasicConfiguration == true ]]; then
echo "### basic configuration ###"
for i in $(find "../config/networknode" -type d); do
mkdir -p "${i:21}"
for i in $(find "../config/networknode/etc" -type d); do
mkdir -p "${i:21}"
chmod 755 "${i:21}"
chown root:root "${i:21}"
done
for i in $(find "../config/networknode" -type f); do
for i in $(find "../config/networknode/etc" -type f); do
placeConfigFile "$i" "${i:21}"
chmod 644 "${i:21}"
chown root:root "${i:21}"
done
for i in /etc/neutron/plugins/*/*; do
......
......@@ -82,12 +82,16 @@ fi
if [[ $doBasicConfiguration == true ]]; then
echo "### basic configuration ###"
for i in $(find "../config/storagenode" -type d); do
mkdir -p "${i:21}"
for i in $(find "../config/storagenode/etc" -type d); do
mkdir -p "${i:21}"
chmod 755 "${i:21}"
chown root:root "${i:21}"
done
for i in $(find "../config/storagenode" -type f); do
for i in $(find "../config/storagenode/etc" -type f); do
placeConfigFile "$i" "${i:21}"
chmod 644 "${i:21}"
chown root:root "${i:21}"
done
echo "### installing prerequisite software ###"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment