wiregrill-server: fix typo

This commit is contained in:
makefu 2024-01-15 22:36:40 +01:00
parent 03149e0a99
commit 14bff2d907
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -60,7 +60,7 @@ in mkIf (hasAttr "wiregrill" config.krebs.build.host.nets) {
#${ip6} -t nat -A PREROUTING -s 42:1::/32 -j ACCEPT
#${ip6} -t nat -A POSTROUTING -s 42:1::/32 ! -d 42:1::/48 -j MASQUERADE
'');
'';
# This undoes the above command
postShutdown = ''
@ -80,7 +80,7 @@ in mkIf (hasAttr "wiregrill" config.krebs.build.host.nets) {
#${ip6} -t nat -D PREROUTING -s 42:1::/32 -j ACCEPT
#${ip6} -t nat -D POSTROUTING -s 42:1::/32 ! -d 42:1::/48 -j MASQUERADE
'' );
'';
ips =
(optional (!isNull self.ip4) self.ip4.addr) ++
(optional (!isNull self.ip6) self.ip6.addr);