Add sample vtysh file to remove warnings (#1298)
Co-authored-by: Luca Prete <lucaprete@google.com>
This commit is contained in:
parent
2e336bcd50
commit
bf14d2da23
|
@ -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.
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue