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

Co-authored-by: Luca Prete <lucaprete@google.com>
This commit is contained in:
Luca Prete 2023-04-03 21:37:02 +02:00 committed by GitHub
parent 07f60fb0b9
commit 70aefc2ddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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"