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
2 people authored and lcaggio committed May 5, 2023
1 parent b8aecfb commit ed1c6e4
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 ed1c6e4

Please sign in to comment.