Allow to specify python_version

This commit is contained in:
Viet Hung Nguyen 2020-03-08 17:14:19 +07:00 committed by Chris Roberts
parent a55d9812f4
commit b084e61b17

View File

@ -158,6 +158,10 @@ module VagrantPlugins
options = "%s -N" % options
end
if @config.python_version && @machine.config.vm.communicator != :winrm
options = "%s -x python%s" % [options, @config.python_version]
end
if @config.install_type && @machine.config.vm.communicator != :winrm
options = "%s %s" % [options, @config.install_type]
end