Using awx-manage shell produces a better stdout during bootstrap

This commit is contained in:
Marcelo Moreira de Mello 2021-07-15 11:43:20 -04:00
parent f6a71e770d
commit b63313a08b
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
# Create Openshift/Kubernetes credential for Minikube
# This script gets called by the bootstrap_development process
# awx-manage shell_plus --quiet < bootstrap_minikube.py
# awx-manage shell < bootstrap_minikube.py
from awx.main.utils.encryption import encrypt_field
from awx.main.models import Credential, CredentialType, InstanceGroup
from django.conf import settings
NAME = 'Minikube'

View File

@ -37,5 +37,5 @@ mkdir -p /awx_devel/awx/ui_next/build/static
# Create resource entries when using Minikube
if [[ -n "$MINIKUBE_CONTAINER_GROUP" ]]; then
awx-manage shell_plus --quiet < /awx_devel/tools/docker-compose-minikube/_sources/bootstrap_minikube.py
awx-manage shell < /awx_devel/tools/docker-compose-minikube/_sources/bootstrap_minikube.py
fi