Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions saltstack/salt/files/usr/local/bin/configure_openstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ cd devstack
git fetch
git checkout stable/2023.1
GIT_BASE_IF_NEEDED=""
if [ -d /mnt/storage/openstack ]; then
GIT_BASE_IF_NEEDED="GIT_BASE=file:///mnt/storage/openstack"
git config --global --add safe.directory '*'
fi
cat << EOF > local.conf
[[local|localrc]]
$GIT_BASE_IF_NEEDED
Expand Down