We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f6c29c commit d29e0c8Copy full SHA for d29e0c8
1 file changed
bin/provision-instance.sh
@@ -32,7 +32,7 @@ INSTANCE_IP4=$(ssh root@"$INSTANCE" facter networking.ip)
32
INSTANCE_IP6=$(ssh root@"$INSTANCE" facter networking.ip6)
33
ssh "$PUPPET_SERVER" sudo nft add rule inet filter input tcp dport 8140 ip saddr "$INSTANCE_IP4" ct state new accept
34
if [[ "$INSTANCE_IP6" != fe80* ]]; then
35
- ssh "$PUPPET_SERVER" sudo nft add rule inet6 filter input tcp dport 8140 ip6 saddr "$INSTANCE_IP6" ct state new accept
+ ssh "$PUPPET_SERVER" sudo nft add rule inet filter input tcp dport 8140 ip6 saddr "$INSTANCE_IP6" ct state new accept
36
fi
37
38
ssh root@"$INSTANCE" "$PUPPET" config --section agent set server "$PUPPET_SERVER"
0 commit comments