diff --git a/Makefile b/Makefile index 4fc4c5a567..77f54cf1d6 100644 --- a/Makefile +++ b/Makefile @@ -138,9 +138,11 @@ develop: @if [ "$(VIRTUAL_ENV)" ]; then \ pip uninstall -y awx; \ $(PYTHON) setup.py develop; \ + awx-manage register_instance --primary --ip-address=127.0.0.1 else \ sudo pip uninstall -y awx; \ sudo $(PYTHON) setup.py develop; \ + sudo awx-manage register_instance --primary --ip-address=127.0.0.1 fi # Refresh development environment after pulling new code.