From c934273f4419c17f8363a63189bdec355d867c3c Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 15 Jul 2024 17:19:39 +0200 Subject: [PATCH] [debian12] fix: fixed packer account --- debian12/http/preseed.cfg | 10 ++++------ debian12/packer.pkr.hcl | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/debian12/http/preseed.cfg b/debian12/http/preseed.cfg index abb5abb..dee83ce 100644 --- a/debian12/http/preseed.cfg +++ b/debian12/http/preseed.cfg @@ -15,12 +15,10 @@ d-i mirror/http/proxy string d-i mirror/suite string bookworm # account -d-i passwd/root-login boolean false -d-i passwd/make-user boolean true -d-i passwd/user-fullname string Packer -d-i passwd/username string packer -d-i passwd/user-password password packer -d-i passwd/user-password-again password packer +d-i passwd/root-login boolean true +d-i passwd/root-password password packer +d-i passwd/root-password-again password packer +d-i passwd/make-user boolean false # timezone d-i clock-setup/utc boolean true diff --git a/debian12/packer.pkr.hcl b/debian12/packer.pkr.hcl index daefb07..eb8fa90 100644 --- a/debian12/packer.pkr.hcl +++ b/debian12/packer.pkr.hcl @@ -118,7 +118,7 @@ source "proxmox-iso" "template" { scsi_controller = "virtio-scsi-single" ssh_port = 22 ssh_timeout = "20m" - ssh_username = "${var.template_username}" + ssh_username = "root" ssh_password = "${var.template_password}" template_description = "${var.template_description}" template_name = "${var.template_name}"