This commit is contained in:
Stefan Bethke 2023-07-30 14:16:24 +02:00
parent 8de6abd4bd
commit 5a779f64bd

View file

@ -2,7 +2,7 @@
## Prerequisites
The script uses the package [`libguestfs-tools`](https://libguestfs.org)' `virt-builder` to download and customize a Debian image. and then add it as a template to Proxmox.
The script uses the package [`libguestfs-tools`](https://libguestfs.org)' `virt-builder` to download and customize a Debian image, and then add it as a template to Proxmox.
## Building the Template
@ -17,13 +17,13 @@ Verify that the settings at the beginning of the script are suitable to the clus
| `NAME` | `chaos-${OS}-tmpl` | name of the template |
| `BRIDGE` | `vmbr0,tag=208` | name of the bridge to use and any parameters needed, like the VLAN tag |
### User Account, ssh, and `authorized_keys`
### User Account, sshd, and `authorized_keys`
cloud-init will create a user `chaos`, by default with a locked password, and authorized keys initialized.
`cloud-init` will create a user `chaos`, by default with a locked password, and authorized keys initialized. Password-less `sudo` is configured, so you can run commands as root.
The script expects `authorized_keys` to be in the current directory. Copy the correct contents from the [appropriate repository](https://gitlab.hamburg.ccc.de/ccchh/infrastructure-authorized-keys).
`sshd` has been configure to listen on port 42666 instead of 22.
`sshd` has been configured to listen on port 42666 instead of 22.
### Run the Script