fix: a configuration that names no HTTPS certificate source gets the first setup's choice, and the development VM of lm-dev-vm.py is named by --fqdn, so its HTTPS sites answer a name that resolves to it.
Release / release (push) Successful in 19s

This commit is contained in:
slawek committed 2026-11-24 18:23:42 +01:00
1 parent 0cec95c19b
commit 7efacfa3bb
8 files changed
+43 -12

No files matched your search

+5 -2
View File
@@ -62,7 +62,8 @@ The configurations in `configs/` have placeholders that are filled in for each s
- `@PSK@`: the pre-shared key, filled in on the Mac; the file reaches the server through the Vault;
- `@ETH0@` and `@ETH1@`: the names of its interfaces;
- `@CIDR0@`: the network of its first address.
- `@CIDR0@`: the network of its first address;
- `@FQDN@`: in `dev.json`, the name of the dev VM, `--fqdn` of `lm-dev-vm.py`.
## Secrets
@@ -115,7 +116,8 @@ default, such as `LXD_REMOTE`, is required: without its option, the script stops
{
"LXD_REMOTE": "my-remote",
"LXD_POOL": "default",
"LXD_FORWARD_ADDRESS": "192.0.2.10"
"LXD_FORWARD_ADDRESS": "192.0.2.10",
"LXD_DEV_FQDN": "lm-dev.example.org"
}
```
@@ -171,6 +173,7 @@ generate it. `remove` deletes the VM, its forward and what the Vault keeps for i
| `--config` | | `dev.json` | The configuration from `configs/` |
| `--listen` | `LXD_LISTEN` | the remote URL's host | Outside a test project, the address the proxies listen on |
| `--forward-address` | `LXD_FORWARD_ADDRESS` | allocated | In a test project, the forward's listen address, one of the uplink's routes, so a recreated VM keeps it |
| `--fqdn` | `LXD_DEV_FQDN` | `lm-dev.test` | The name of the VM, `@FQDN@` of `dev.json`: the Manager and the status web service answer HTTPS for it, so it has to resolve to the forward or proxy address |
| `--no-otp` | | off | With `create`, enrol no TOTP token for `admin` |
| `--deb` | | the package built last | Outside a test project, the package to install |