longevity escape velocity

Archive for March, 2019

GitLab commands

Friday, March 29th, 2019

$ gitlab-ctl reconfigure
$ gitlab-ctl restart

Vagrant configuration file

Wednesday, March 27th, 2019

you’re doing.

Vagrant.configure(“2”) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.

config.vm.define “clustercontrol” do |clustercontrol|

clustercontrol.vm.box = “centos/7”

clustercontrol.vm.network “private_network”, ip: “192.168.10.5”

end

config.vm.define “ansible” do |ansible|
ansible.vm.box = “centos/7”
ansible.vm.network “private_network”, ip: “192.168.10.10”
end
config.vm.define “host1” do |host1|
host1.vm.box = “centos/7”
host1.vm.network “private_network”, ip: “192.168.10.20”
end

SSH key (passwordless)

Thursday, March 21st, 2019

$ ssh-keygen -t rsa # press enter on all prompts
$ ssh-copy-id -i ~/.ssh/id_rsa[IP address]