File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1818# curl https://raw.github.com/gitlabhq/gitlab-recipes/master/install/v4/ubuntu_server_1204.sh | sudo domain_var=gitlab.example.com sh
1919#
2020
21- echo " Host localhost
22- StrictHostKeyChecking no
23- UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
24-
2521
2622# ==
2723# == 0. FQDN
3430 exit
3531fi
3632
33+ echo " Host localhost
34+ StrictHostKeyChecking no
35+ UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
36+
37+ echo " Host $domain_var
38+ StrictHostKeyChecking no
39+ UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
40+
3741
3842# ==
3943# == 1. Packages
@@ -149,6 +153,7 @@ sudo -u gitlab -H cp config/gitlab.yml.example config/gitlab.yml
149153sudo -u gitlab -H cp config/database.yml.mysql config/database.yml
150154sudo sed -i ' s/"secure password"/"' $userPassword ' "/' /home/gitlab/gitlab/config/database.yml # Insert the mysql root password.
151155sudo sed -i " s/ host: localhost/ host: $domain_var /" /home/gitlab/gitlab/config/gitlab.yml
156+ sudo sed -i " s/ssh_host: localhost/ssh_host: $domain_var /" /home/gitlab/gitlab/config/gitlab.yml
152157sudo sed -i " s/notify@localhost/notify@$domain_var /" /home/gitlab/gitlab/config/gitlab.yml
153158
154159# Copy the example Unicorn config
You can’t perform that action at this time.
0 commit comments