Add sample vtysh file to remove warnings (#1298)

Co-authored-by: Luca Prete <lucaprete@google.com>
This commit is contained in:
Luca Prete 2023-04-03 15:10:46 +02:00 committed by GitHub
parent 2e336bcd50
commit bf14d2da23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

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

View File

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