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}"