cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
348
Views
0
Helpful
7
Replies

/ndfc_ansible_llab/setting-up

Netmart
Level 3
Level 3

Hello,

I set up Sandbox for NDFC Ansible lab.

I following the instructions including the provided credentails.

I was able to successfully VPN an into Sandbox.

However, when I am tried to usesudo with the provided develop account I receive:

 

devbox

10.10.20.50

developer

C1sco12345!

developer@devbox:~$ sudo apt install net-tools
[sudo] password for developer:
Sorry, try again.
[sudo] password for developer:
developer is not in the sudoers file.

Please advise.

Thanks.

Setting up the Environment - NDFC with Ansible Learning Lab - Cisco DevNet Learning Labs Center

7 Replies 7

I think sudo was removed from all devboxes and the account should be able to run this without sudo access.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Netmart
Level 3
Level 3

 I tried both:

 

developer@devbox:~$ sudo apt-get update
[sudo] password for developer:
developer is not in the sudoers file.
developer@devbox:~$ apt-get update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

 

Access details

name address username password

ndfchttps://10.10.20.60admin1vtG@lw@y
devbox10.10.20.50developerC1sco12345!
spine110.10.20.171adminC1sco12345
spine210.10.20.172adminC1sco12345
leaf110.10.20.173adminC1sco12345
leaf210.10.20.174adminC1sco12345
leaf310.10.20.175adminC1sco12345
leaf410.10.20.176adminC1sco12345
edge10.10.20.180adminC1sco12345
gitlabhttp://10.10.20.54:8080devadminC1sco12345
gitlabhttp://10.10.20.54:8080developerC1sco12345
redis10.10.20.54:6379NACICDRedisDevnet
postgres10.10.20.54:5432tfuserTFisC00l
netboxhttp://10.10.20.54:8000devadminC1sco12345

That’s a pickle then. The devnet team will need to update the lab, or perms for that to work.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Netmart
Level 3
Level 3

Thank you. Do you know whom to contact at the DevNet Team; I cannot imagine to be the only one facing this issue.

They (devnet team) monitor the community quite closely for this. You can also fill in a report here https://github.com/CiscoDevNet/learning-labs-issues too

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Jesus Illescas
Cisco Employee
Cisco Employee

Hi thanks for reporting this and an apology for the frustration. At the moment we don't have resources on DevNet covering DC content, so is hard to keep it updated. I will share with the team to fix it.

 

 

Please do so. Thanks.