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

instructions for Windows #38

Open
1 of 3 tasks
fdiblen opened this issue Jun 16, 2020 · 6 comments
Open
1 of 3 tasks

instructions for Windows #38

fdiblen opened this issue Jun 16, 2020 · 6 comments
Assignees

Comments

@fdiblen
Copy link
Collaborator

fdiblen commented Jun 16, 2020

We need the instructions below for Windows.

  • remote machine at SURF HPC Cloud
  • local machine via Docker
  • local machine via VirtualBox

Most of the instructions for Linux will probably work but some additional steps or changes may be required.

Links to Linux instructions can be found below.
remote machine at SURF HPC Cloud
local machine via Docker
local machine via VirtualBox

@sverhoeven
Copy link
Collaborator

So these are instructions how to install Ansible and run one of the playbooks to install a GH Action runner on a remote server from Windows..

@sverhoeven
Copy link
Collaborator

@cwmeijer em me wehere able to get the vagrant setup running on his Windows machine.
There where 2 problems

  • Ansible can not run as controller from Windows, so we copied the vagrant private key to wsl and ran ansible from wsl
  • wsl permissions the permissions where to open, but chmod go-rw -R . helped

@sverhoeven
Copy link
Collaborator

The Windows 10 version 2004 update has been released. This will cause WSL-2 to use Hyper-V and Virtualbox to use very slow Hyper-V compatibility mode. See https://docs.microsoft.com/en-us/windows/wsl/wsl2-faq#will-i-be-able-to-run-wsl-2-and-other-3rd-party-virtualization-tools-such-as-vmware-or-virtualbox .

There is no currently no workaround to have WSL2 and a performant Virtualbox. To have performant Virtualbox you need to disable Hyper-V. To have WSL2 you need Hyper-V enabled.

@sverhoeven
Copy link
Collaborator

The vagrant guide for Windows could use a Hyper-V based VM. Windows 10 Home does not have Hyper-V support so only Windows 10 Pro and higher could start the VM.

@sverhoeven
Copy link
Collaborator

I switched back to WSL v1 to be able to still have Virtualbox and WSL together.

@cwmeijer
Copy link
Collaborator

That explains why I could just run virtualbox with or without hyper-v. In my case the result was slow in both cases. I had expected some error instead when starting a VM when Hyper-V enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants