Skip to content

Commit

Permalink
readme: updated the AMD64 kola example
Browse files Browse the repository at this point in the history
The AMD64 kola example now also requires the uefi to be set accordingly:
`flatcar_production_qemu_uefi_efi_code`.

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
  • Loading branch information
ader1990 committed Jul 31, 2024
1 parent 9bbcbda commit 298d0d6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,15 @@ wget https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_productio
wget https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu_image.img.bz2.sig
gpg --verify ./flatcar_production_qemu_image.img.bz2.sig
bzip2 -dk ./flatcar_production_qemu_image.img.bz2
sudo ./bin/kola run --key ${HOME}/.ssd/id_rsa.pub -k -b cl -p qemu --board amd64-usr --qemu-image ./flatcar_production_qemu_image.img cl.locksmith.cluster

wget https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu_uefi_efi_code.fd
wget https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu_uefi_efi_code.fd.sig
gpg --verify ./flatcar_production_qemu_uefi_efi_code.fd.sig

sudo ./bin/kola run --board amd64-usr --key ${HOME}/.ssh/id_rsa.pub -k -b cl -p qemu \
--qemu-bios flatcar_production_qemu_uefi_efi_code.fd \
--qemu-image ./flatcar_production_qemu_image.img \
cl.locksmith.cluster
```

###### Run tests for ARM64
Expand All @@ -106,7 +114,10 @@ wget https://alpha.release.flatcar-linux.net/arm64-usr/current/flatcar_productio
wget https://alpha.release.flatcar-linux.net/arm64-usr/current/flatcar_production_qemu_uefi_efi_code.fd.sig
gpg --verify ./flatcar_production_qemu_uefi_efi_code.fd.sig

sudo ./bin/kola run --board arm64-usr --key ${HOME}/.ssh/id_rsa.pub -k -b cl -p qemu --qemu-image ./flatcar_production_image.bin --qemu-bios=./flatcar_production_qemu_uefi_efi_code.fd cl.etcd-member.discovery
sudo ./bin/kola run --board arm64-usr --key ${HOME}/.ssh/id_rsa.pub -k -b cl -p qemu \
--qemu-bios=./flatcar_production_qemu_uefi_efi_code.fd \
--qemu-image ./flatcar_production_image.bin \
cl.etcd-member.discovery
```

_Note for both architectures_:
Expand Down

0 comments on commit 298d0d6

Please sign in to comment.