Ich beginne Vagabund Box mit Windows 7 von Host, der auch Windows 7 mit "vagrant up" -Befehl ist.Korrigieren "config.ssh.shell" Wert für Vagrant Windows Box?
Inhalt von Vagrantfile:
Vagrant.configure(2) do |config|
config.vm.box = "win7_base_test"
config.vm.network "forwarded_port", guest: 88, host: 3088
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
config.ssh.port = "3088"
config.ssh.host = "127.0.0.1"
config.ssh.shell = "cmd"
end
Als Ergebnis, das ich am Ende mit einem Fehler folgenden Auflistung erhalten:
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 88 => 3088 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:3088
default: SSH username: vagrant
default: SSH auth method: password
default: Warning: Connection timeout. Retrying...
The configured shell (config.ssh.shell) is invalid and unable
to properly execute commands. The most common cause for this is
using a shell that is unavailable on the system. Please verify
you're using the full path to the shell and that the shell is
executable by the SSH user.
Hinweis: Ich bin in der Lage durch die Ausführung "zu vagabundierender Box verbinden vagrant ssh "in der Zwischenzeit und gib dort Shell Kommandos aus.
Daher habe ich eine Frage: verwende ich den richtigen Wert ("cmd") für "config.ssh.shell" -Parameter? Welche Werte sind dort überhaupt möglich?
Danke!
Bitte verschieben Sie Ihre Frage zu [su]. Es ist [off-topic] (http://stackoverflow.com/help/on-topic) hier. –