Skip to content

Commit 62333ee

Browse files
committed
aarch64 v.next
1 parent 2996702 commit 62333ee

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

packer/main.pkr.hcl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ packer {
1313
}
1414

1515
source "qemu" "kvm" {
16-
cpus = 2
16+
cpus = 4
1717
memory = 4096
1818
disk_size = 20480
1919
machine_type = "virt"
@@ -28,7 +28,7 @@ source "qemu" "kvm" {
2828
efi_firmware_vars = "${var.qemu_firmware_directory}/AAVMF_VARS.fd"
2929
qemuargs = [
3030
["-boot", "strict=off"],
31-
["-cpu", "host"],
31+
["-cpu", "max"],
3232
["-display", var.headless ? "none" : "gtk"],
3333
["-device", "virtio-rng-pci"],
3434
["-device", "virtio-gpu"],
@@ -55,10 +55,9 @@ source "qemu" "kvm" {
5555
# Enter the command line
5656
"c<wait><wait>",
5757
# Configure the kernel
58-
"linux /casper/vmlinuz",
59-
" ds=nocloud;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/",
60-
" keymap=us fsck.mode=skip",
61-
" noprompt splash --<enter><wait><wait>",
58+
"linux /casper/vmlinuz ",
59+
" autoinstall 'ds=nocloud;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/'",
60+
" <enter><wait><wait>",
6261
# Configure initrd & boot
6362
"initrd /casper/initrd ",
6463
"<enter>boot<enter>"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
ubuntu_version = {
2-
version = "jammy"
3-
patched_version = "22.04.5"
2+
version = "noble"
3+
patched_version = "24.04.3"
44
}

packer/variables.pkr.hcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ variable "aarch64_boot_wait" {
8484

8585
variable "qemu_accelerator" {
8686
type = string
87-
default = "kvm"
87+
default = "tcg"
8888
description = <<EOF
8989
The QEMU accelerator to use; keep this as 'kvm' unless building on macOS, in
9090
which case it's probably best to use 'hvf'.
@@ -112,8 +112,8 @@ locals {
112112
iso_file = "linuxmint-${var.mint_version.version}-cinnamon-64bit${var.mint_version.build_type != null ? "-${var.mint_version.build_type}" : ""}.iso"
113113
}
114114
ubuntu_aarch64_info = {
115-
mirror_url = "http://cdimage.ubuntu.com/${var.ubuntu_version.version}/daily-live/current"
116-
iso_file = "${var.ubuntu_version.version}-desktop-arm64.iso"
115+
mirror_url = "http://cdimage.ubuntu.com/releases/${var.ubuntu_version.version}/release"
116+
iso_file = "ubuntu-${var.ubuntu_version.patched_version}-live-server-arm64.iso"
117117
}
118118
artifact_dir_prefix = "${path.cwd}/artifacts_"
119119
}

0 commit comments

Comments
 (0)