fix: typos and outdated docs
This commit is contained in:
parent
c35e0ed40e
commit
e56900934d
2 changed files with 12 additions and 2 deletions
10
BOOTSTRAP.md
10
BOOTSTRAP.md
|
|
@ -26,6 +26,16 @@ If your Proxmox host or your Control Center has a different name:
|
|||
- Update the `node_name` inside your OpenTofu `main.tf`.
|
||||
- Update `nixos/flake.nix` to reflect your new host names.
|
||||
|
||||
### The Golden Image
|
||||
Because the GitOps Control Center must be spun up fully configured without human intervention, you need a pre-built NixOS `.qcow2` image.
|
||||
1. Build the golden image locally (requires Nix/WSL):
|
||||
```bash
|
||||
nix run github:nix-community/nixos-generators -- --flake ./nixos#izanagi --format qcow
|
||||
```
|
||||
2. Upload the resulting `.qcow2` file to your Proxmox node.
|
||||
3. Create a new VM in Proxmox with **ID 9000**.
|
||||
4. Import the `.qcow2` as its disk and convert the VM into a **Template**. *(Ensure the template has Cloud-Init configured).*
|
||||
|
||||
## Execute the Bootstrap
|
||||
|
||||
Once you have pushed your adapted codebase to your Git server, SSH into your fresh Proxmox node as `root` and run the bootstrap script:
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@
|
|||
virtualisation.guest.enable = true;
|
||||
|
||||
# Enable standard GitOps for the Control Center itself
|
||||
common.gitops.enable = true;
|
||||
gitops.enable = true;
|
||||
# We might pull from our Forgejo instance eventually, but for bootstrap
|
||||
# it might need to pull from Github or the local Gitea if it's up.
|
||||
# common.gitops.repoUrl = "https://git.depeuter.dev/Bos55/nix-config.git";
|
||||
# gitops.repoUrl = "https://git.depeuter.dev/Bos55/nix-config.git";
|
||||
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue