Merge pull request #1819 from andrewsomething/hostname-set-up
Write out /home/dokku/HOSTNAME as specified by the web installer.
This commit is contained in:
commit
f13c77d50d
1 file changed
+3
@@ -95,6 +95,9 @@ class GetHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
|||||||
os.remove('{0}/VHOST'.format(dokku_root))
|
os.remove('{0}/VHOST'.format(dokku_root))
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
with open('{0}/HOSTNAME'.format(dokku_root), 'w') as f:
|
||||||
|
f.write(params['hostname'].value)
|
||||||
|
|
||||||
|
|
||||||
command = ['sshcommand', 'acl-add', 'dokku', 'admin']
|
command = ['sshcommand', 'acl-add', 'dokku', 'admin']
|
||||||
for key in params['keys'].value.split("\n"):
|
for key in params['keys'].value.split("\n"):
|
||||||
|
|||||||
Reference in new issue
Block a user