Skip to content

Instantly share code, notes, and snippets.

@Ranjandas
Last active September 10, 2024 01:22
Show Gist options
  • Save Ranjandas/773ddaf275e57505708692dd0acd0e2e to your computer and use it in GitHub Desktop.
Save Ranjandas/773ddaf275e57505708692dd0acd0e2e to your computer and use it in GitHub Desktop.
This creates a VM that is capable of running x86_64 applications on Linux on ARM
shikari create -n rose -s 1 -t https://gist.githubusercontent.com/Ranjandas/773ddaf275e57505708692dd0acd0e2e/raw/9addc14ab8dde5c717dd3789d4f709ea6c8873ce/hashibox.yaml
images:
- location: "https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-Generic.x86_64-40-1.14.qcow2"
arch: "x86_64"
digest: "sha256:ac58f3c35b73272d5986fa6d3bc44fd246b45df4c334e99a07b3bbd00684adee"
- location: "https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/aarch64/images/Fedora-Cloud-Base-Generic.aarch64-40-1.14.qcow2"
arch: "aarch64"
digest: "sha256:ebdce26d861a9d15072affe1919ed753ec7015bd97b3a7d0d0df6a10834f7459"
rosetta:
enabled: true
binfmt: true
containerd:
user: false
portForwards:
- ignore: true
guestIP: 127.0.0.1
guestPortRange: [1, 65535]
- ignore: true
guestIP: 0.0.0.0
guestPort: 5355
networks:
- lima: shared
vmType: vz
env:
SHIKARI_SCENARIO_NAME: "rosetta-x86-on-arm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment