Skip to content

Commit

Permalink
Add sample vtysh file to remove warnings (#1298)
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Prete <[email protected]>
  • Loading branch information
LucaPrete and Luca Prete authored Apr 3, 2023
1 parent 2e336bc commit bf14d2d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/cloud-config-container/simple-nva/files/frr/vtysh.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This is a sample file used to remove warnings
# when users open the vtysh console.
6 changes: 6 additions & 0 deletions modules/cloud-config-container/simple-nva/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ locals {
owner = "root"
permissions = "0744"
}
"/etc/frr/vtysh.conf" = {
# content can either be the path to the config file or the config string
content = file("${path.module}/files/frr/daemons")
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 bf14d2d

Please sign in to comment.