Rename Debian 13 template
This commit is contained in:
parent
6aea23541b
commit
fccecfde5d
10 changed files with 18 additions and 7 deletions
23
README.md
23
README.md
|
|
@ -10,6 +10,7 @@
|
||||||
- [Create Token](#create-token)
|
- [Create Token](#create-token)
|
||||||
- [Initialize Packer](#initialize-packer)
|
- [Initialize Packer](#initialize-packer)
|
||||||
- [Build](#build)
|
- [Build](#build)
|
||||||
|
- [Build LUKS encrypted Templates](#build-luks-encrypted-templates)
|
||||||
- [Setup new templates](#setup-new-templates)
|
- [Setup new templates](#setup-new-templates)
|
||||||
- [ToDo](#todo)
|
- [ToDo](#todo)
|
||||||
|
|
||||||
|
|
@ -19,10 +20,10 @@
|
||||||
❯ la 4 -I .git
|
❯ la 4 -I .git
|
||||||
Name
|
Name
|
||||||
./
|
./
|
||||||
├── _scripts/ Support scripts for building templates
|
├── _scripts/ Support scripts for building templates.
|
||||||
│ └── unlock-luks-after-install.py* Unlocks the LUKS encrypted Disk on the 1st Boot after installation
|
│ └── unlock-luks-after-install.py* Unlocks the LUKS encrypted Disk on the 1st Boot after installation.
|
||||||
├── debian/ Debian template definitions and assets (Packer templates, cloud-init/KS files, provisioning files).
|
├── debian/ Debian template definitions and assets (Packer templates, cloud-init/KS files, provisioning files).
|
||||||
│ └── 13-trixie/ Template definition and assets for the Trixie template.
|
│ └── 13-trixie-luks/ Template definition and assets for the Trixie template.
|
||||||
│ ├── files/ Files used for the file provisioner.
|
│ ├── files/ Files used for the file provisioner.
|
||||||
│ │ ├── 99-pve.cfg Configures the data sources for cloud-init.
|
│ │ ├── 99-pve.cfg Configures the data sources for cloud-init.
|
||||||
│ │ └── debian.sources Debian package sources.
|
│ │ └── debian.sources Debian package sources.
|
||||||
|
|
@ -33,7 +34,9 @@ Name
|
||||||
│ ├── credentials.auto.pkrvars.hcl -> ../../credentials.auto.pkrvars.hcl Local secrets for Packer (API token, endpoints) used at build time.
|
│ ├── credentials.auto.pkrvars.hcl -> ../../credentials.auto.pkrvars.hcl Local secrets for Packer (API token, endpoints) used at build time.
|
||||||
│ ├── debian-trixie.pkr.hcl The build template.
|
│ ├── debian-trixie.pkr.hcl The build template.
|
||||||
│ ├── variables-common.pkr.hcl -> ../../variables-common.pkr.hcl Shared Packer variables used by templates.
|
│ ├── variables-common.pkr.hcl -> ../../variables-common.pkr.hcl Shared Packer variables used by templates.
|
||||||
│ └── variables.pkr.hcl Packer variables only used for this template
|
│ └── variables.pkr.hcl Packer variables only used for this template.
|
||||||
|
├── OS/ Diretory to group templates for a specific OS.
|
||||||
|
│ └── version_number[-version_codename][-luks]/ Template definition and assets.
|
||||||
├── downloaded_iso_path/ Packer ISO cache directory (downloaded ISOs and lock files).
|
├── downloaded_iso_path/ Packer ISO cache directory (downloaded ISOs and lock files).
|
||||||
│ ├── OS.iso
|
│ ├── OS.iso
|
||||||
│ ├── OS.iso.lock
|
│ ├── OS.iso.lock
|
||||||
|
|
@ -50,8 +53,8 @@ Name
|
||||||
## Templates
|
## Templates
|
||||||
|
|
||||||
| Template ID | OS | Version | Path | LUKS encrypted? | Mac Address | IP Address |
|
| Template ID | OS | Version | Path | LUKS encrypted? | Mac Address | IP Address |
|
||||||
| :---------- | :--------------------------------------------------------------------------------------------- | :-------- | :----------------- | :-------------- | :---------------- | :---------------------- |
|
| :---------- | :--------------------------------------------------------------------------------------------- | :-------- | :---------------------- | :-------------- | :---------------- | :---------------------- |
|
||||||
| 65000 | <img src="https://www.debian.org/logos/openlogo-nd.svg" alt="Debian logo" height="16"/> Debian | 13-trixie | `debian/13-trixie` | ✅ | BC:24:11:00:13:37 | 192.168.9.29 (via DHCP) |
|
| 65000 | <img src="https://www.debian.org/logos/openlogo-nd.svg" alt="Debian logo" height="16"/> Debian | 13-trixie | `debian/13-trixie-luks` | ✅ | BC:24:11:00:13:37 | 192.168.9.29 (via DHCP) |
|
||||||
|
|
||||||
## Initial Setup
|
## Initial Setup
|
||||||
|
|
||||||
|
|
@ -86,6 +89,14 @@ To build a template run:
|
||||||
mise run build <path-to-template-directory>
|
mise run build <path-to-template-directory>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Build LUKS encrypted Templates
|
||||||
|
|
||||||
|
To build a template run:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
mise run build-luks <path-to-template-directory>
|
||||||
|
```
|
||||||
|
|
||||||
## Setup new templates
|
## Setup new templates
|
||||||
|
|
||||||
Run:
|
Run:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue