Add Hyper-V setup scripts

This commit is contained in:
Werner
2023-03-30 16:00:30 -03:00
parent 102e6a7adb
commit bf219ef519
2 changed files with 8 additions and 0 deletions

3
Scripts/Hyper-V.ps1 Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env pwsh
Set-VMVideo -VMName "Ubuntu" -HorizontalResolution 1920 -VerticalResolution 1080 -ResolutionType Single

5
Scripts/Hyper-V.sh Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:3840x2160"
sudo apt install linux-image-extra-virtual