Commit 6d14fb53 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

deploy: Update hostname in DNS component

Signed-off-by: default avatarDimitris Aragiorgis <>
parent f90b43d5
......@@ -100,6 +100,8 @@ class DNS(SynnefoComponent):
return [
"chattr -i /etc/resolv.conf",
"sed -i 's/^127.*$/ localhost/g' /etc/hosts",
"echo %s > /etc/hostname" % self.node_info.hostname,
"hostname %s" % self.node_info.hostname
def configure(self):
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