0
부팅 시간이 각 인스턴스에 대해 매우 길어 지도록 sysprep 이미지를 사용하고 있습니다. config.vm.boot_timeout이 VirtualBox에서 작동하지 않았지만 디버그에서 사용중인 값을 찾을 수 없었습니다. 오늘 아침에 Hyper-V를 시도했고 대기 시간을보고합니다. 설정하려고하는 것이 아닙니다. 매우 작은 Vagrantfile (즉, VirtualBox 공급자 및 모든 공급 업체 제외)을 사용하여 시나리오를 다시 만들었습니다. 1.9.2 Windows의 유창 창 config.vm.boot_timeout이 적용되지 않았습니다.
Bringing machine 'default' up with 'hyperv' provider...
==> default: Verifying Hyper-V is enabled...
==> default: Configured startup memory is 1024
==> default: Configured cpus number is 2
==> default: Importing a Hyper-V instance
default: Cloning virtual hard drive...
default: Creating and registering the VM...
default: Successfully imported a VM with name: WindowServerStandardGUI
==> default: Starting the machine...
==> default: Waiting for the machine to report its IP address...
default: Timeout: 120 seconds
Hyper-V failed to determine your machine's IP address within the
configured timeout. Please verify the machine properly booted and
the network works. To do this, open the Hyper-V manager, find your
virtual machine, and connect to it.
플랫폼
- 호스트는 윈도우 10 방랑과 : 여기
은 (120초 타임 아웃주의) 방랑 최대의 출력입니다 Windows Server 2016Vagrant.configure(2) do |config| config.vm.box = 'cdaf/WindowsServerStandard' config.vm.box_check_update = false config.vm.guest = :windows config.vm.communicator = 'winrm' config.vm.boot_timeout = 600 # 10 minutes config.vm.provider 'hyperv' do |hyperv, override| hyperv.memory = 1024 hyperv.cpus = 2 end end