Posts

Showing posts from June, 2019

Run VM Technology Inside Another VM with Hyper-V

Run VM Technology Inside Another VM with Hyper-V If you are like me, you want to run proof-of-concepts inside a VM. Well this sounds easy enough, but if you dig deep it is pretty challenging to accomplish, when you are testing a VM technology like localstack . The main reason is the VM doesn't have direct access to the processor. Luckily Microsoft has a one line solution to the problem. Just run the following from the host for the VM you want to expose virtualization on. Set-VMProcessor -VMName "VM Name in Hyper-V" -ExposeVirtualizationExtensions $true If you are running KVM, it's possible to do this, but with a bit of extra work. See article  by Fedora. If you are using VirtualBox, don't waste your time as it won't work. It's really too bad that it isn't supported as of yet. Just to note, I haven't gone over enabling virtualization in the bios. You might get an error related that and it should be easy enough to resolve with a web search.

Useful Git Commands

Image
Useful Git Commands I figured the best way to start is to get (git) us on the same page (pun intended) Before I start showing you code for automation, I figure I should show you the very basics that you need to know about using Git . I hope you don't mind, as I won't be wasting valuable screen space on how to install Git. If you run into trouble installing Git, don't worry, you are also going to run into trouble with automation😃 Rest assured, as we all struggle at some point with automation, but finding a solution will bring you pride and joy in your accomplishments. To be successful with automation, you will have to continue to learn new technologies and tools. All joking aside, you will actually find many good resources online and offline that will help you get unstuck. I want to make it very clear that running any of these commands without the knowledge of what they do can be very dangerous. As such, following license applies: This work is licensed under a Creat...