Skip to content

Commit

Permalink
Add ability to run vtysh from simple-nva vm directly when frr is acti…
Browse files Browse the repository at this point in the history
…ve (#1301)

Co-authored-by: Luca Prete <[email protected]>
  • Loading branch information
LucaPrete and Luca Prete authored Apr 3, 2023
1 parent 07f60fb commit 70aefc2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/cloud-config-container/simple-nva/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ locals {
owner = "root"
permissions = "0644"
}
"/etc/profile.d/00-aliases.sh" = {
content = "alias vtysh='sudo docker exec -it frr sh -c vtysh'"
owner = "root"
permissions = "0644"
}
"/etc/systemd/system/frr.service" = {
content = file("${path.module}/files/frr/frr.service")
owner = "root"
Expand Down

0 comments on commit 70aefc2

Please sign in to comment.