Commit e8dff2dc by Olivér Pintér

fix hostname generation

parent 07473acd
......@@ -99,7 +99,7 @@ class Context(BaseContext):
@staticmethod
def set_hostname(hostname):
with open('/etc/hostname', 'w') as f:
with open('/etc/rc.conf.d/hostname', 'w') as f:
f.write(hostname)
with open('/etc/hosts', 'w') as f:
......
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 sign in to comment