Skip to content

Commit c76a365

Browse files
committed
Bump base box version; don't skip ssh key insertion
1 parent 800de01 commit c76a365

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Vagrantfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require 'yaml'
1414
ENV["LC_ALL"] = "en_US.UTF-8"
1515

1616
# Set your default base box here
17-
DEFAULT_BASE_BOX = 'bento/centos-7.5'
17+
DEFAULT_BASE_BOX = 'bento/centos-7.6'
1818

1919
# When set to `true`, Ansible will be forced to be run locally on the VM
2020
# instead of from the host machine (provided Ansible is installed).
@@ -116,8 +116,6 @@ def forwarded_ports(vm, host)
116116
end
117117
end
118118

119-
# }}}
120-
121119
def provision_ansible(node, host, groups)
122120
ansible_mode = run_locally? ? 'ansible_local' : 'ansible'
123121
node.vm.provision ansible_mode do |ansible|
@@ -132,8 +130,10 @@ def provision_ansible(node, host, groups)
132130
end
133131
end
134132

133+
# }}}
134+
135135
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
136-
config.ssh.insert_key = false
136+
137137
hosts.each do |host|
138138
config.vm.define host['name'] do |node|
139139
node.vm.box = host['box'] ||= DEFAULT_BASE_BOX

0 commit comments

Comments
 (0)