mirror of
https://github.com/ansible/awx.git
synced 2026-04-07 02:59:21 -02:30
Using awx-manage shell produces a better stdout during bootstrap
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
# Create Openshift/Kubernetes credential for Minikube
|
# Create Openshift/Kubernetes credential for Minikube
|
||||||
# This script gets called by the bootstrap_development process
|
# 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.utils.encryption import encrypt_field
|
||||||
|
from awx.main.models import Credential, CredentialType, InstanceGroup
|
||||||
|
from django.conf import settings
|
||||||
|
|
||||||
NAME = 'Minikube'
|
NAME = 'Minikube'
|
||||||
|
|
||||||
|
|||||||
@@ -37,5 +37,5 @@ mkdir -p /awx_devel/awx/ui_next/build/static
|
|||||||
|
|
||||||
# Create resource entries when using Minikube
|
# Create resource entries when using Minikube
|
||||||
if [[ -n "$MINIKUBE_CONTAINER_GROUP" ]]; then
|
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
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user