Skip to content

Commit c3c1a16

Browse files
yxiecalguohan
authored andcommitted
[Fanout deploy template] enable root user on fanout switches (#557)
fast-reboot test relies on having root access on fanout switch...
1 parent 546378d commit c3c1a16

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

ansible/roles/fanout/templates/arista_7060_deploy.j2

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ spanning-tree mode none
1818
no spanning-tree vlan {{ device_vlan_range | list | join(',') }}
1919
!
2020
aaa authorization exec default local
21-
!
22-
no aaa root
21+
aaa root secret 0 {{ lab_admin_pass }}
2322
!
2423
username admin privilege 15 role network-admin secret 0 {{ lab_admin_pass }}
2524
username eapi privilege 15 secret 0 {{ lab_admin_pass }}

ansible/roles/fanout/templates/arista_7260_deploy.j2

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ no spanning-tree vlan {{ device_vlan_range | list | join(',') }}
2323
aaa authorization exec default local
2424
aaa root secret 0 {{ lab_admin_pass }}
2525
!
26-
no aaa root
27-
!
2826
username admin privilege 15 role network-admin secret 0 {{ lab_admin_pass }}
2927
username eapi privilege 15 secret 0 {{ lab_admin_pass }}
3028
!

0 commit comments

Comments
 (0)