generate /etc/network/pac-addr-ipv6

This commit is contained in:
Peter Hormanns 2019-03-09 14:51:17 +01:00
parent 35727b04e3
commit dfe33257b7

View File

@ -103,7 +103,11 @@ public class PacProcessorFactory implements EntityProcessorFactory {
}
private Processor createNetworkInterfacesProc(final Hive hive) throws ProcessorException {
return new VelocityProcessor("/de/hsadmin/mods/pac/pac-addr-ipv4.vm", hive, "/etc/network/pac-addr-ipv4", true);
return
new CompoundProcessor(
new VelocityProcessor("/de/hsadmin/mods/pac/pac-addr-ipv4.vm", hive, "/etc/network/pac-addr-ipv4", true),
new VelocityProcessor("/de/hsadmin/mods/pac/pac-addr-ipv6.vm", hive, "/etc/network/pac-addr-ipv6", true)
);
}
private Processor createIPTablesProc() {