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:
parent
07f60fb0b9
commit
70aefc2ddb
|
@ -52,6 +52,11 @@ locals {
|
||||||
owner = "root"
|
owner = "root"
|
||||||
permissions = "0644"
|
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" = {
|
"/etc/systemd/system/frr.service" = {
|
||||||
content = file("${path.module}/files/frr/frr.service")
|
content = file("${path.module}/files/frr/frr.service")
|
||||||
owner = "root"
|
owner = "root"
|
||||||
|
|
Loading…
Reference in New Issue