Hyperv Debian + UEFI

This commit is contained in:
Greg Hellings
2023-12-30 05:37:32 +00:00
parent 76abdb9132
commit b11669345e
112 changed files with 468 additions and 850 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
# Building on Windows
# Building on Windows Host for Hyper-V machines
It's probably a good idea to have Windows Terminal installed, if you
don't already. While it's not strictly necessary, it does provide a
@@ -8,7 +8,8 @@ much better interface than the standard command prompt interface.
* Get ahead of the curve and create an external switch called `packer-amd64` that connects directly to the external network
1. Install [Chocolatey](https://chocolatey.org/install)
* Use Chocolatey to install packer `choco install packer`
* Use Chooolatey to install the Windows Assessment and Development Kit's CD tooling `choco install windows-adk-oscdimg`
* Use Chocolatey to install the Windows Assessment and Development Kit's CD tooling `choco install windows-adk-oscdimg`
* Use Chocolately to install cURL `choco install curl`
1. Install Python
* From a PowerShell prompt type `python`. If it is not already installed on your system, then your Windows Store will prompt you to install it. This might require you to be in an Administrator terminal
1. Create a venv `python -m venv .venv`
@@ -17,7 +18,7 @@ much better interface than the standard command prompt interface.
1. Try a build
* You can execute directly with the `packer` executable, if you want
* If you want to wrap up standard options, or build multiple versions/distros at once, use the `build.xsh` file
* `xonsh build.xsh -d <distro> -b hyperv-iso.amd64 -v`
* `xonsh build.xsh -d <distro> -b hyperv-iso.amd64 -v <version>`
* You can substitute out any of the options with `-a` to build "all" targets that match
### Troubleshooting