Skip to content

Commit c4feab7

Browse files
committed
fix: adjust the qemu vars filename
1 parent beede0b commit c4feab7

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

ebssurrogate/scripts/qemu-bootstrap-nix.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ EOF
4040
--extra-vars "postgresql_major_version=${POSTGRES_MAJOR_VERSION}" \
4141
--extra-vars "postgresql_major=${POSTGRES_MAJOR_VERSION}" \
4242
--extra-vars "psql_version=psql_${POSTGRES_MAJOR_VERSION}" \
43-
--extra-vars @./ansible/qemu-vars.yml
43+
--extra-vars @./ansible/qemu-vars.yaml
4444
}
4545

4646
function setup_postgesql_env {
@@ -103,7 +103,7 @@ EOF
103103
--extra-vars "postgresql_major_version=${POSTGRES_MAJOR_VERSION}" \
104104
--extra-vars "postgresql_major=${POSTGRES_MAJOR_VERSION}" \
105105
--extra-vars "psql_version=psql_${POSTGRES_MAJOR_VERSION}" \
106-
--extra-vars @./ansible/qemu-vars.yml
106+
--extra-vars @./ansible/qemu-vars.yaml
107107
}
108108

109109
function clean_legacy_things {

qemu_artifact.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,9 @@ For faster iteration, it's more convenient to build the image on an ubuntu bare-
4545
list of packages installed on the EKS to build images:
4646

4747
```
48-
apt-get install -y git emacs ripgrep vim-tiny byobu build-essential
49-
wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
50-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(grep -oP '(?<=UBUNTU_CODENAME=).*' /etc/os-release || lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
51-
apt-cache update
52-
apt-get install -y qemu-system qemu-system-arm qemu-utils qemu-efi-aarch64 libvirt-clients libvirt-daemon libqcow-utils software-properties-common git make libnbd-bin nbdkit fuse2fs cloud-image-utils awscli packer=1.11.2-1
48+
apt-get install -y git emacs ripgrep vim-tiny byobu build-essential unzip
49+
curl -L "https://releases.hashicorp.com/packer/1.14.1/packer_1.14.1_linux_$(dpkg --print-architecture).zip" -o packer.zip && unzip packer.zip && rm -f packer.zip && sudo mv packer /usr/local/bin/
50+
apt-get install -y qemu-system qemu-system-arm qemu-utils qemu-efi-aarch64 libvirt-clients libvirt-daemon libqcow-utils software-properties-common git make libnbd-bin nbdkit fuse2fs cloud-image-utils
5351
```
5452

5553
### Dependencies note

0 commit comments

Comments
 (0)