Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Provisioning fails because /tmp is not empty? #80
Right at the end of building a windows 7 VM packer failed with an error from what looks like an internally generated script.
This is Windows 7 building virtualbox. I'm on the latest versions of virtualbox, vagrant and packer. Everything has gone fine building the image (including all updates) and provisioning seems to have completed with the following scripts (all from the packer-windows project):
The console ouput ends with:
Anybody seen this before? Any suggestions for a workaround?
Here it fails at that rm step too:
That winstore.log is from the windows store; I think its there because at the first run, the metro ui tries to download the default apps (at least the download icon appears on all titles).
So maybe we can shortcircuit that command? e.g.
The solution of gerardkok works, but still I receive following error:
==> virtualbox-iso: Provisioning with shell script: /var/folders/mp/8rxvhtsd3jn9rdj1z3780wxm0000gn/T/packer-shell735432321 virtualbox-iso: rm: cannot remove `/tmp/TMP000003B59E3A8A8F295F0693': Device or resource busy virtualbox-iso: rm: cannot remove `/tmp/TMP000003B68745D3E4F2719CAA': Device or resource busy
Has someone a idea? I use Packer v0.7.1 and Vagrant 1.6.5
I'm using the following on Arch to create a Windows 8.1 Vagrant box:
I was getting the