Skip to content

Commit 49d62e4

Browse files
ciobandarora
authored andcommitted
feat: using ubuntu minimal for qemu
1 parent 37e8528 commit 49d62e4

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

ebssurrogate/scripts/qemu-bootstrap-nix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function waitfor_boot_finished {
2222
}
2323

2424
function install_packages {
25-
apt-get update && sudo apt-get install software-properties-common e2fsprogs nfs-common -y
25+
apt-get update && sudo apt-get install software-properties-common e2fsprogs nfs-common locales iptables arptables ebtables ufw logrotate -y
2626
add-apt-repository --yes --update ppa:ansible/ansible && sudo apt-get install ansible -y
2727
ansible-galaxy collection install community.general
2828
}

qemu-arm64-nix.pkr.hcl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,8 @@ source "qemu" "cloudimg" {
7474
format = "qcow2"
7575
headless = true
7676
http_directory = "http"
77-
# TODO (darora): switch to minimal images
78-
# iso_checksum = "file:https://cloud-images.ubuntu.com/minimal/releases/noble/release/SHA256SUMS"
79-
# iso_url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-arm64.img"
80-
iso_checksum = "file:https://cloud-images.ubuntu.com/noble/current/SHA256SUMS"
81-
iso_url = "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-arm64.img"
77+
iso_checksum = "file:https://cloud-images.ubuntu.com/minimal/releases/noble/release/SHA256SUMS"
78+
iso_url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-arm64.img"
8279
memory = 40000
8380
qemu_img_args {
8481
convert = ["-o", "compression_type=zstd"]

0 commit comments

Comments
 (0)