bundlewrap/bundles/radvd/files/radvd.conf

18 lines
367 B
Text

% for interface, config in sorted(interfaces.items()):
interface ${interface}
{
AdvSendAdvert on;
prefix ${config.get('prefix', '::/64')}
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
% if 'rdnss' in config:
RDNSS ${' '.join(sorted(config['rdnss']))}
{
AdvRDNSSLifetime 900;
};
% endif
};
% endfor