![]() ![]() The hvc.exe command actually ends with a cariage return character which will cause an error if we would connect with ssh `hvc.exe ip -4 VM_NAME`.Actually, the full command will need to be hvc.exe ip -4 VM_NAME | tr -d '\r'.Get the IP of the running VM: hvc.exe ip -4 VM_NAME.There is two different ways to connect using hvc.exe: Hopefully for us, Microsoft has created a tool to communicate with Hyper-V VMs, I do present you hvc.exe (location: c:\Windows\System32) Now back to WSL, we will need to find a way to connect to the VM despite the fact of having a dynamic IP. Setup Ubuntu based on your preferences and you are now good to goĪs we will be mainly working from WSL, then a nice (and optional) action to do is to setup the SSH connectivity to the VM.įirst we will need to install OpenSSH server on the VM: # Update the system first.Click “Connect” in the final window and click “Start” on the VM connection window.Customize CPU and RAM by clicking “Edit settings…” in the final window.Create a new Ubuntu VM from the Quick Create gallery.The first action to do is, if not done already, to create a new Ubuntu VM with the quick create function: Server setup: Ubuntu and LXD goodiness Virtual Machine creation You can read more about LXD remote from Stéphane’s blog, and see Brian’s video about DevLx (previously named LxDev)Īnd now that we do have the tools and knowledge, it’s time to create something on our own. This solution is (heavily) inspired by the knowledge shared by two Giants: Brian Ketelsen and Stéphane Graber WSL on machine host where LXC and DevLx will be launched Knowledge is power. ![]() ![]() Ubuntu VM guest on Hyper-V where LXD will be running.Hyper-v with Ubuntu from the quick createĪs you might have guessed by now, the setup will be split in two parts:.In order to craft this environment, the following tools will be needed: Now that you’ve been warned, let’s start. Even if it might be stable once everything is in place, the different layers used might have an (big?) impact on the performances. This setup is highly experimental, so try it for “the fun of doing it”. They created tools for their intensive labor and in their kindness they shared it with the tiny humans that wanted to copy what the giants where doing.Īnd for the mightiest of the tiny humans, the giants allowed them to stand on their shoulders so they could be amazed by the view.Īs a tiny human, I do say Thank You to these Giants. Once upon a time, the giants molded earth. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |