Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to run vtysh from simple-nva vm directly when frr is active #1301

Merged
merged 1 commit into from
Apr 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add ability to run vtysh from simple-nva vm directly when frr is active
  • Loading branch information
Luca Prete committed Apr 3, 2023
commit 1416141fd366e8094b354a584f110211d39b2657
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