Skip to content

Commit

Permalink
Merge pull request #245 from antonym/set_passwd_file_loc
Browse files Browse the repository at this point in the history
Set password file location
  • Loading branch information
antonym authored Sep 26, 2018
2 parents e44cbfd + a42cd29 commit dcc30ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/ubuntu16-pike-to-queens.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ else
popd
fi

if [ -f "/etc/openstack_deploy/user_secrets.yml" ]; then
if ! grep "^osa_secrets_file_name" /etc/openstack_deploy/user_rpco_upgrade.yml; then
echo 'osa_secrets_file_name: "user_secrets.yml"' >> /etc/openstack_deploy/user_rpco_upgrade.yml
fi
elif [ -f "/etc/openstack_deploy/user_osa_secrets.yml" ]; then
if ! grep "^osa_secrets_file_name" /etc/openstack_deploy/user_rpco_upgrade.yml; then
echo 'osa_secrets_file_name: "user_osa_secrets.yml"' >> /etc/openstack_deploy/user_rpco_upgrade.yml
fi
fi

pushd /opt/openstack-ansible
git checkout ${OSA_SHA}
scripts/bootstrap-ansible.sh
Expand Down

0 comments on commit dcc30ed

Please sign in to comment.