Vagrant 1.6.5 windows/chef-client provisioning fails until first user login -
vagrant's chef-client provisioning fails until after utilize rdp vm , login 'vagrant' user first time.
the debug output says:
info interface: machine: error-exit ["berkshelf::vagrantwrappererror", "vagrantplugins::communicatorwinrm::errors::winrmbadexitstatus: next winrm command responded non-zero exit status.\nvagrant assumes means thecommand failed!\n\ncmd.exe /c install.bat 11.16.4\n\nstdout command:\n\ndownloading chef 11.16.4 windows...\r\ninstalling chef 11.16.4\r\n\n\nstderr command:\n\n"]
ideally, "vagrant destroy" , "vagrant up" back without other steps necessary.
how can work around this?
i using:
vagrant 1.6.5 chef 11.16.4 windows 8 (kensykora/windows_81) windows 2012 (kensykora/windows_2012_r2_standard)
you set vagrant user auto-login:
https://technet.microsoft.com/en-us/magazine/ee872306.aspx
then can bundle modified box instance , utilize new box there on:
http://docs.vagrantup.com/v2/cli/package.html
vagrant chef
No comments:
Post a Comment