How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "perk/ubuntu-20.04-arm64"
config.vm.box_version = "20221201"
end
vagrant init perk/ubuntu-20.04-arm64 \
--box-version 20221201
vagrant up
This version was created almost 2 years ago.
Ubuntu 20.04 (Focal Fossa) arm64.
Derived from cloud image: https://cloud-images.ubuntu.com/releases/20.04/release-20221201/ubuntu-20.04-server-cloudimg-arm64.img
Tested on MacBook with Apple M1 processor.
Works with qemu provider:
Install QEMU
brew install qemu
Install vagrant-qemu plugin
vagrant plugin install vagrant-qemu
Init Vagrantfile
vagrant init -m perk/ubuntu-20.04-arm64
Run vagrant
vagrant up --provider qemu
If you see the following password prompt:
==> default: Successfully added box 'perk/ubuntu-20.04-arm64' (v20221201) for 'libvirt'!
==> default: Importing a QEMU instance
default: Creating and registering the VM...
default: Successfully imported VM
Password:
Please disable synced folders:
Vagrant.configure("2") do |config|
config.vm.box = "perk/ubuntu-20.04-arm64"
config.vm.box_version = "20221201"
config.vm.synced_folder ".", "/vagrant", disabled: true
end