From 711c89cf20360672d34b0b59a99116ca0bd4b241 Mon Sep 17 00:00:00 2001 From: Kyle Laker Date: Sun, 31 Dec 2023 10:47:14 -0500 Subject: [PATCH] Update Mint beta to 21.3 This doesn't really work well because it changes the boot_command in a way that isn't compatible with 21.2. --- packer/main.pkr.hcl | 17 ++++++++--------- packer/mint-beta.pkrvars.hcl | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/packer/main.pkr.hcl b/packer/main.pkr.hcl index c7a44858..cf4841a2 100644 --- a/packer/main.pkr.hcl +++ b/packer/main.pkr.hcl @@ -27,17 +27,16 @@ source "virtualbox-iso" "base-build" { boot_wait = "5s" boot_command = [ - "", - "c", - "linux /casper/vmlinuz fsck.mode=skip noprompt", + "", + # Select the OEM install option + "", + # Edit the OEM option and remove "--" to add more options + "", + "fsck.mode=skip noprompt", " auto url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/oem-preseed.cfg", " automatic-ubiquity noninteractive debug-ubiquity keymap=us", - # Different distributions name (and compress) the initrd differently. Fortunately, - # GRUB is mostly smart and if the file doesn't exist, it just won't apply that directive. - # So to prevent duplication, we specify both and let GRUB ignore the wrong one. - "initrd /casper/initrd", - "initrd /casper/initrd.lz", - "boot" + # Start booting + "" ] shutdown_command = "echo -e \"${var.ssh_pass}\\n\" | sudo -S poweroff" diff --git a/packer/mint-beta.pkrvars.hcl b/packer/mint-beta.pkrvars.hcl index 5b33634d..4f3ecf69 100644 --- a/packer/mint-beta.pkrvars.hcl +++ b/packer/mint-beta.pkrvars.hcl @@ -1,6 +1,6 @@ semester = "Fa23" mint_version = { - version = "21.2" + version = "21.3" beta = true }