Commit 6ab44555 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Christos Stavrakakis
Browse files

Try put resolv.conf due to chattr +i


Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 4653faac
......@@ -270,7 +270,10 @@ def setup_resolv_conf():
"ns_node_ip": env.env.ns.ip,
}
custom = customize_settings_from_tmpl(tmpl, replace)
put(custom, tmpl)
try:
put(custom, tmpl)
except:
pass
try_run("chattr +i /etc/resolv.conf")
......
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