LXC: optional root password/SSH keys, console banner with address and login hint

This commit is contained in:
zyphlar
2026-11-02 01:47:09 -08:00
parent df48ae7f6f
commit 01266e9d28
2 changed files with 31 additions and 1 deletions
+6 -1
View File
@@ -30,7 +30,12 @@ It downloads the Debian 13 template if needed and creates an unprivileged contai
It then installs everything and prints the container's address. Optional settings: `CTID`, `CT_HOSTNAME`, `STORAGE`
(`local-lvm`), `TEMPLATE_STORAGE` (`local`), `BRIDGE` (`vmbr0`), `IP` (`dhcp` or `192.168.1.50/24`), `GATEWAY`,
`VLAN`, `CORES` (1), `MEMORY` (512 MB), `DISK` (4 GB), `PORT` (3000), `SITE_NAME`, `DIGEST_HOUR`, `TZ` (defaults to
the host's), and `SMTP_HOST`/`SMTP_PORT`/`SMTP_USER`/`SMTP_PASS`/`SMTP_SECURE` instead of `SMTP_URL`.
the host's), `ROOT_PASSWORD`, `SSH_PUBLIC_KEYS` (a file of keys for root), and
`SMTP_HOST`/`SMTP_PORT`/`SMTP_USER`/`SMTP_PASS`/`SMTP_SECURE` instead of `SMTP_URL`.
`ADMIN_PASSWORD` is only for the web `/admin` page, not the container's root account. To log in at the Proxmox
console, set `ROOT_PASSWORD`. Without it, get a shell with `pct enter <ctid>` on the host. The console's login screen
shows the container's address and the `/admin` URL.
Then point your reverse proxy (HTTPS) at the container's port 3000, open `/admin`, and sign in.