This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: adding instructions for how how to build the Windows VHD for di… (
- Loading branch information
Showing
4 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# How to build VHDs | ||
|
||
## Windows VHD | ||
|
||
To build the Windows VHD | ||
|
||
1. Enter our dev container | ||
|
||
```bash | ||
make dev | ||
``` | ||
|
||
1. Set the following environment varibles | ||
|
||
| | | | ||
|---|---| | ||
| CLIENT_ID | Azure service princicle ID | | ||
| CLIENT_SECRET | Azure service principle secret | | ||
| TENANT_ID | Azure tennant ID | | ||
| AZURE_RESOURCE_GROUP_NAME | Resource group name to use / create | | ||
| AZURE_LOCATION | Azure region to use | | ||
| AZURE_VM_SIZE | VM size packer will use (Standard_D4s_v3 is recommended) | | ||
| CONTAINER_RUNTIME | Container runtime VHD will be generated for (Docker or Containerd) | | ||
| WINDOWS_SERVER_VERSION | Windows Server OS version vHD will be generated for (2019 or 2004) | | ||
|
||
1. Run packer | ||
|
||
```bash | ||
make run-packer-windows | ||
``` | ||
|
||
Once complete, packer will output a URI to the VHD it created. | ||
|
||
## Linux VHD | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters