Add templates for radvd.conf (Centos/RHEL) and rtadvd.conf (OpenBSD).

This commit is contained in:
Ossi Herrala 2012-11-22 11:21:50 +00:00
parent 8b75fc924e
commit f03286e5e3
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# <%= description %>
interface <%= name %>
{
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
AdvHomeAgentFlag off;
prefix <%= prefix %>
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
};

View file

@ -0,0 +1,4 @@
# <%= description %>
<%= name %>:\
:addr="<%= prefix.split("/").first %>":":prefixlen#<%= prefix.split("/").last %>: