Skip to content

Commit

Permalink
Workaround provision problem on Win10
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor Monacelli committed Feb 1, 2017
1 parent 6eb4d2c commit 547718d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion provision.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,12 @@ function vup($vmname)
if(!(box_exists_already $vmname)){
packer_build $vmname
}
vagrant up
vagrant up --no-destroy-on-error --no-provision
vagrant provision
if($lastExitCode -ne 0){
# try again
vagrant provision
}
# vagrant rdp
email -bs "${vmname}: packer is done" taylor
}

0 comments on commit 547718d

Please sign in to comment.