خرید بک لینک

I am new to vagrant and consul. In my folder I installed the following. 4. Then I go to the folder type the command vagrant up.

The shell command bootstrap.sh is

sudo -s <<EOF
yum makecache fast
yum update -y
cp /vagrant/consul /bin
firewall-cmd --zone=public --add-port=8300/tcp --permanent
firewall-cmd --zone=public --add-port=8500/tcp --permanent
firewall-cmd --reload
consul agent -dev -ui -bind "172.28.128.3" -client "172.28.128.3"
EOF

The Vagrantfile is

Vagrant.configure(2) do |config|
config.vm.box = "puppetlabs/centos-7.0-64-puppet"
config.vm.network "private_network", ip: "172.28.128.3"
config.vm.provision :shell, path: "bootstrap.sh"
end

It seems that I get consul sever ruing. Now I want shut down it. I tried the commands such as

Ctrl C
Ctrl D
vagrant halt

But they are not working. See the image. 1

برچسب: نویسنده: استخدام کار تاريخ: جمعه 10 ارديبهشت 1395 ساعت: 20:56

صفحه بندی