Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default cache dir for Windows #259

Merged
merged 1 commit into from
Dec 5, 2016

Conversation

afiune
Copy link

@afiune afiune commented Dec 5, 2016

We are not allow to use the DRIVE C: when sharing a folder in
vagrant/virtualbox because Windows doesn't like the fact that you have
the colon.

We now default to /omnibus/cache that Windows will understand as:

%SYSTEMDRIVE%/omnibus/cache

Signed-off-by: Salim Afiune [email protected]

We are not allow to use the DRIVE C: when sharing a folder in
vagrant/virtualbox because Windows doesn't like the fact that you have
the colon.

We now default to `/omnibus/cache` that Windows will understand as:
```
%SYSTEMDRIVE%/omnibus/cache
```

Signed-off-by: Salim Afiune <[email protected]>
@afiune
Copy link
Author

afiune commented Dec 5, 2016

Tested with @mwrock :

➜  tk-windows git:(master) kitchen create windows-7
-----> Starting Kitchen (v1.15.0-dev)
-----> Creating <win-windows-7>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Importing base box 'windows-7'...
==> default: Matching MAC address for NAT networking...
       ==> default: Setting the name of the VM: kitchen-tk-windows-win-windows-7_default_1480957173628_14300
       ==> default: Clearing any previously set network interfaces...
       ==> default: Preparing network interfaces based on configuration...
           default: Adapter 1: nat
       ==> default: Forwarding ports...
           default: 3389 (guest) => 3389 (host) (adapter 1)
           default: 5985 (guest) => 5985 (host) (adapter 1)
           default: 22 (guest) => 2222 (host) (adapter 1)
           default: 5986 (guest) => 55986 (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:5985
           default: WinRM username: vagrant
           default: WinRM execution_time_limit: PT2H
           default: WinRM transport: negotiate
       ==> default: Machine booted and ready!
       ==> default: Checking for guest additions in VM...
           default: The guest additions on this VM do not match the installed version of
           default: VirtualBox! In most cases this is fine, but in rare cases it can
           default: prevent things such as shared folders from working properly. If you see
           default: shared folder errors, please make sure the guest additions within the
           default: virtual machine match the version of VirtualBox you have installed on
           default: your host and reload your VM.
           default:
           default: Guest Additions Version: 4.3.14
           default: VirtualBox Version: 5.0
       ==> default: Mounting shared folders...
           default: /omnibus/cache => /Users/salimafiune/.kitchen/cache
       ==> default: Machine not provisioned because `--no-provision` is specified.
       [WinRM] Established

       Vagrant instance <win-windows-7> created.
       Finished creating <win-windows-7> (1m57.00s).
-----> Kitchen is finished. (1m59.93s)

@afiune
Copy link
Author

afiune commented Dec 5, 2016

cc/ @test-kitchen/maintainers

@mwrock mwrock merged commit 0b02854 into master Dec 5, 2016
@mwrock mwrock deleted the afiune/change-default-dir-for-cache branch December 5, 2016 17:33
@afiune afiune added Bug and removed Bug labels Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants