Add templates for radvd.conf (Centos/RHEL) and rtadvd.conf (OpenBSD).
This commit is contained in:
parent
8b75fc924e
commit
f03286e5e3
2 changed files with 20 additions and 0 deletions
16
network/templates/radvd.conf.erb
Normal file
16
network/templates/radvd.conf.erb
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
# <%= description %>
|
||||
interface <%= name %>
|
||||
{
|
||||
AdvSendAdvert on;
|
||||
MinRtrAdvInterval 3;
|
||||
MaxRtrAdvInterval 10;
|
||||
AdvHomeAgentFlag off;
|
||||
|
||||
prefix <%= prefix %>
|
||||
{
|
||||
AdvOnLink on;
|
||||
AdvAutonomous on;
|
||||
AdvRouterAddr off;
|
||||
};
|
||||
};
|
4
network/templates/rtadvd.conf.erb
Normal file
4
network/templates/rtadvd.conf.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
# <%= description %>
|
||||
<%= name %>:\
|
||||
:addr="<%= prefix.split("/").first %>":":prefixlen#<%= prefix.split("/").last %>:
|
Loading…
Add table
Reference in a new issue