chore: remove encrypted bootstrapping password
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/docs Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-08-08 09:40:37 +02:00
parent 2daa6d7c7d
commit 55ab45cf75
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 2 additions and 9 deletions

View File

@ -1,6 +1,5 @@
proxmox_token = "dummy" proxmox_token = "dummy"
build_password = "dummy" build_password = "dummy"
build_password_encrypted = "dummy"
proxmox_url = "dummy" proxmox_url = "dummy"
proxmox_username = "dummy" proxmox_username = "dummy"
proxmox_node = "dummy" proxmox_node = "dummy"

View File

@ -24,7 +24,7 @@ lang ${vm_guest_os_language}
keyboard ${vm_guest_os_keyboard} keyboard ${vm_guest_os_keyboard}
### Set initial root password ### Set initial root password
rootpw --iscrypted ${build_password_encrypted} rootpw ${build_password}
### Configure firewall settings for the system. ### Configure firewall settings for the system.
### --enabled reject incoming connections that are not in response to outbound requests ### --enabled reject incoming connections that are not in response to outbound requests

View File

@ -12,7 +12,7 @@ locals {
buildtime = formatdate("YYYY-MM-DD hh:mm ZZZ", timestamp()) buildtime = formatdate("YYYY-MM-DD hh:mm ZZZ", timestamp())
data_source_content = { data_source_content = {
"/ks.cfg" = templatefile("${abspath(path.root)}/data/init.ks.pkrtpl.hcl", { "/ks.cfg" = templatefile("${abspath(path.root)}/data/init.ks.pkrtpl.hcl", {
build_password_encrypted = var.build_password_encrypted build_password = var.build_password
vm_guest_os_language = var.vm_guest_os_language vm_guest_os_language = var.vm_guest_os_language
vm_guest_os_keyboard = var.vm_guest_os_keyboard vm_guest_os_keyboard = var.vm_guest_os_keyboard
vm_guest_os_timezone = var.vm_guest_os_timezone vm_guest_os_timezone = var.vm_guest_os_timezone

View File

@ -180,12 +180,6 @@ variable "build_password" {
sensitive = true sensitive = true
} }
variable "build_password_encrypted" {
type = string
description = "The encrypted password to login the guest operating system."
sensitive = true
}
variable "build_scripts" { variable "build_scripts" {
type = list(string) type = list(string)
description = "A list of scripts and their relative paths to transfer and execute." description = "A list of scripts and their relative paths to transfer and execute."