mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore(ct): update template
This commit is contained in:
parent
a283b4bf9a
commit
a03d567652
3 changed files with 9 additions and 4 deletions
|
|
@ -190,7 +190,6 @@ in {
|
|||
};
|
||||
nftables = mkIf (networking.nftables.enable && cfg.localaddrs.enable) rec {
|
||||
wants = [ "localaddrs.service" ];
|
||||
after = wants;
|
||||
serviceConfig = {
|
||||
ExecReload = mkBefore [
|
||||
"+${localaddrs-reload}"
|
||||
|
|
|
|||
|
|
@ -5,4 +5,10 @@
|
|||
inherit (lib) mkDefault;
|
||||
in {
|
||||
services.kanidm.serverSettings.db_fs_type = mkDefault "zfs";
|
||||
# work around a filesystem issue when migrating an unprivileged container to privileged
|
||||
boot.postBootCommands = ''
|
||||
if [[ $(stat -c '%u' /) != 0 ]]; then
|
||||
chown 0:0 / /*
|
||||
fi
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
variable "proxmox_container_template" {
|
||||
type = string
|
||||
default = "local:vztmpl/reisen-ct-2024-01-26-nixos-system-x86_64-linux.tar.xz"
|
||||
default = "local:vztmpl/ct-20240127-nixos-system-x86_64-linux.tar.xz"
|
||||
}
|
||||
|
||||
data "proxmox_virtual_environment_vm" "kubernetes" {
|
||||
|
|
@ -54,7 +54,7 @@ resource "proxmox_virtual_environment_container" "reimu" {
|
|||
started = false
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [started, description]
|
||||
ignore_changes = [started, description, operating_system[0].template_file_id]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -112,7 +112,7 @@ resource "proxmox_virtual_environment_vm" "freeipa" {
|
|||
|
||||
disk {
|
||||
datastore_id = "local-zfs"
|
||||
file_format = "raw"
|
||||
file_format = "raw"
|
||||
interface = "scsi0"
|
||||
size = 32
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue