Ubuntu 20.04 Virtual Machine with Hyper-VHow to setup an Ubuntu 20.04 virtual machine on a Windows 10 Host using Hyper-V Manager. This includes changing the resolution and my ubuntu-dev-playbook configuration scripts!
Posted: Monday, March 29, 2021
3 min read
Table of Contents
I mainly followed the following article, but wanted to capture some notes on two things that caught me up:
1. Secure Boot must be disabled.
2. Changing the resolution can be done inside the Ubuntu Virtual Machine's grub settings.
Main Article I followed
The important thing is to remember to turn off Secure Boot
Changing the resolution
This unfortunately isn't made very simple but this guide did it for me.
I've made an ansible role for this that in included in my preferred post-install setup.
Ansible roles and Makefiles to configure my Ubuntu LTS based terminals, virtual machines, and desktops
It makes it easy to setup my desktop exactly how I want it, so I can get right back to whatever I need to be doing!
Ansible Playbook to configure my laptops and desktops
I care about not having to think too much about my setup between machines.
Especially when I want to get right to work.
For that reason, it is very comfortable for me to have the same base configuration on each machine (look, feel, keyboard shortcuts, core software, etc.).
My journey to the current state of this repo
- I found a cool bash script on the internet (I didn't understand most of it) 🤷
- I modified cool bash script for my needs and it worked! 🚀
- I learned about Makefiles. 😄
- I proceeded to do everything with Makefiles. 🤩🤩🤩
- I got tired of running successive Make targets over and again 😐.
- I used Ansible at work and decided to take a course to learn more about it. 🤓
- I put off actually taking the plunge to use Ansible. 🕒🕕🕘🕛
- I finally took the plunge and decided to use Ansible for my configuration. ✔️
I've aligned ansible tags/roles around my common use cases: