Installing iptables-persistent on ubuntu without manual input
echo iptables-persistent iptables-persistent/autosave_v4 boolean true | sudo debconf-set-selections | |
echo iptables-persistent iptables-persistent/autosave_v4 boolean true | sudo debconf-set-selections | |
sudo apt-get -y install iptables-persistent |
This comment has been minimized.
This comment has been minimized.
Thank you |
This comment has been minimized.
This comment has been minimized.
Thank you ! |
This comment has been minimized.
This comment has been minimized.
@5ilv4n0: yes, correct. To any wayward web search folks, here's an updated version:
You can verify these fields by installing
|
This comment has been minimized.
This comment has been minimized.
Thank you +1 |
This comment has been minimized.
This comment has been minimized.
Thank you ! Very useful for bash script ! |
This comment has been minimized.
This comment has been minimized.
Thanks. Here's a variation. sudo debconf-set-selections <<EOF
iptables-persistent iptables-persistent/autosave_v4 boolean true
iptables-persistent iptables-persistent/autosave_v6 boolean true
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
both lines are v4! i think one have to be v6? :)