I cannot get a minimal windows box working using the official windows box.
I have tried the following vagrant files:
Vagrant.configure("2") do |config|
config.vm.box = "Microsoft/EdgeOnWindows10"
config.vm.box_version = "1.0"
config.vm.boot_timeout = 600
config.vm.guest = :windows
config.vm.communicator = "winrm"
cpus = 1
mem = 1024
config.vm.provider "virtualbox" do |v|
v.name = "eqb"
v.memory = mem
v.cpus = cpus
if cpus > 1
v.customize ["modifyvm", :id, "--ioapic", "on"]
end
v.customize ["modifyvm", :id, "--cpuexecutioncap", "75"]
end
config.vm.provision :shell, privileged: "true",
powershell_elevated_interactive: "true", path: "provision.ps1"
end
and
Vagrant.configure("2") do |config|
config.vm.box = "Microsoft/EdgeOnWindows10"
config.vm.box_version = "1.0"
config.vm.boot_timeout = 600
config.vm.guest = :windows
config.vm.communicator = "winrm"
config.winrm.username = "IEUser"
config.winrm.password = "Passw0rd!"
config.winrm.transport = :plaintext
config.winrm.basic_auth_only = true
config.winrm.ssl_peer_verification = false
cpus = 1
mem = 1024
config.vm.provider "virtualbox" do |v|
v.name = "eqb"
v.memory = mem
v.cpus = cpus
if cpus > 1
v.customize ["modifyvm", :id, "--ioapic", "on"]
end
v.customize ["modifyvm", :id, "--cpuexecutioncap", "75"]
end
config.vm.provision :shell, privileged: "true",
powershell_elevated_interactive: "true", path: "provision.ps1"
end
They both stall like this:
Bringing machine 'default' up with 'virtualbox' provider...
>
> ==> default: Importing base box 'Microsoft/EdgeOnWindows10'...
>
> ==> default: Matching MAC address for NAT networking...
>
> ==> default: Checking if box 'Microsoft/EdgeOnWindows10' version '1.0' is
>> up to date...
>
> ==> default: Setting the name of the VM: eqb
>
> ==> default: Vagrant has detected a configuration issue which exposes a
>
> ==> default: vulnerability with the installed version of VirtualBox. The
>
> ==> default: current guest is configured to use an E1000 NIC type for a
>
> ==> default: network adapter which is vulnerable in this version of
>> VirtualBox.
>
> ==> default: Ensure the guest is trusted to use this configuration or
>> update
>
> ==> default: the NIC type using one of the methods below:
>
> ==> default:
>
> ==> default:
>>
>> https://www.vagrantup.com/docs/virtualbox/configuration.html#default-nic-type
>
> ==> default:
>>
>> https://www.vagrantup.com/docs/virtualbox/networking.html#virtualbox-nic-type
>
> ==> default: Clearing any previously set network interfaces...
>
> ==> default: Preparing network interfaces based on configuration...
>
> default: Adapter 1: nat
>
> ==> default: Forwarding ports...
>
> default: 5985 (guest) => 55985 (host) (adapter 1)
>
> default: 5986 (guest) => 55986 (host) (adapter 1)
>
> default: 22 (guest) => 2222 (host) (adapter 1)
>
> ==> default: Running 'pre-boot' VM customizations...
>
> ==> default: Booting VM...
>
> ==> default: Waiting for machine to boot. This may take a few minutes...
>
> default: WinRM address: 127.0.0.1:55985
>
> default: WinRM username: vagrant
>
> default: WinRM execution_time_limit: PT2H
>
> default: WinRM transport: negotiate
>
>
>>
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/be94f305-da13-41e0-93df-31a4a1fca204%40googlegroups.com.