diff --git a/deployment/data-model.nix b/deployment/data-model.nix index 5a93459f..3984f2ef 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -537,7 +537,6 @@ let "deployment/run/tf-proxmox-vm" ]; }; - vm_name = "test14"; in lib.trace (lib.strings.toJSON environment) pkgs.writers.writeBashBin "deploy-tf-proxmox-vm.sh" (withPackages [ @@ -547,13 +546,6 @@ let ]) '' set -e - - # TODO after install: $nix_host_keys - # cp $tmpdir/${vm_name}_host_key /mnt/etc/ssh/ssh_host_ed25519_key - # chmod 600 /mnt/etc/ssh/ssh_host_ed25519_key - # cp $tmpdir/${vm_name}_host_key.pub /mnt/etc/ssh/ssh_host_ed25519_key.pub - # chmod 644 /mnt/etc/ssh/ssh_host_ed25519_key.pub - env ${ toString ( lib.mapAttrsToList (k: v: "TF_VAR_${k}=\"${toBash v}\"") (