Commit 0ca0e1cc authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

deploy: Disable IPv6 on testing VM


Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent c0364c49
# This has been generated automatically by snf-deploy, at %DATE%
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
......@@ -169,6 +169,22 @@ python /root/firefox_cert_override.py {0} {1}:443 >> {2}
# provides node, cluster, and setup related info.
class HW(base.Component):
@base.check_if_testing
def _configure(self):
r1 = {
"date": str(datetime.datetime.today()),
}
return [
("/etc/sysctl.d/disable-ipv6.conf", r1, {})
]
@base.run_cmds
@base.check_if_testing
def initialize(self):
return [
"sysctl -f /etc/sysctl.d/disable-ipv6.conf",
]
@base.run_cmds
def test(self):
return [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment