# AWX Operator custom virtual environment

**URL:** <https://forum.ansible.com/t/awx-operator-custom-virtual-environment/35817>\
**Category:** AWX Project\
**Tags:** ubuntu, awx\
**Created:** [October 4, 2021, 9:24am UTC](https://forum.ansible.com/t/awx-operator-custom-virtual-environment/35817 "2021-10-04T09:24:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashutosh\_kumar](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ashutosh\_kumar](https://forum.ansible.com/u/ashutosh_kumar)\
**Post date:** [October 4, 2021, 9:24am UTC](https://forum.ansible.com/t/awx-operator-custom-virtual-environment/35817/1 "2021-10-04T09:24:06Z")

</div>

Using AWX 19.0.3  
AWX Operator :- [https://github.com/ansible/awx-operator](https://github.com/ansible/awx-operator)  
I am trying to create a custom virtual env for my project inside awx-task container in awx-operator pod.  
ubuntu@ubuntu-virtual-machine:~$ kubectl get pods -n awx  
NAME READY STATUS RESTARTS AGE  
awx-demo-7bbb564887-88787 4/4 Running 0 4d2h  
awx-demo-postgres-0 1/1 Running 0 4d2h  
awx-operator-5bb758876d-7swl4 1/1 Running 0 4d2h  
ubuntu@ubuntu-virtual-machine:~$

ubuntu@ubuntu-virtual-machine:~$ kubectl exec -it awx-demo-7bbb564887-88787 -c awx-demo-task /bin/sh -n awx  
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] – [COMMAND] instead.  
sh-4.4$ whoami  
awx

Inside the container while creating the directory or any write operation giving permission denied.

sh-4.4$ mkdir cust\_Env  
mkdir: cannot create directory ‘cust\_Env’: Permission denied  
sh-4.4$

Dont know what the awx default password being set by deployment. Any IDEA what is the default password. Please help in creating the custom virtual env for AWX project.

Thanks,  
Ashutosh

---

<div class="post-metadata">

**Author:** ![ffirg](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ffirg/32/10029_2.png) [@ffirg](https://forum.ansible.com/u/ffirg)\
**Post date:** [October 6, 2021, 9:19am UTC](https://forum.ansible.com/t/awx-operator-custom-virtual-environment/35817/2 "2021-10-06T09:19:37Z")

</div>

custom virtual envs have been replaced by execution environments (EEs) so I suggest you look at that option.
