Vagrant up win10
始めて起動した時に、open sshdを起動する
Vagrant.configure("2") do |config|
config.vm.box = "Win10.box"
config.vm.guest = :windows
config.vm.communicator = "winrm"
config.winrm.username = "IEUser"
config.winrm.password = "Passw0rd!"
config.vbguest.auto_update = false
#config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder ".", "/vagrant"
config.vm.network "forwarded_port", guest: 3389, host: 3389, id: "rdp", auto_correct: true
config.vm.network "forwarded_port", guest: 1521, host: 1521, id: "oracle"
config.vm.network "private_network", ip: "192.168.56.12"
# config.vm.network "public_network"
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "4096"
end
end
も参照してください