ppggff / vagrant-qemu

Use Vagrant to manage machines using QEMU. Test with Apple Silicon / M1 and CentOS aarch64 image
MIT License
433 stars 35 forks source link

Ubuntu host #46

Open john-peterson opened 1 year ago

john-peterson commented 1 year ago

Can you write a complete set of instructions for ubuntu hosting

As you said I had to add

config.vm.provider "qemu" do |qe|
  qe.qemu_dir = "/usr/share/qemu"
end

The next missing file is

Command: ["cp", "/usr/share/qemu/edk2-aarch64-code.fd", "/home/dev/arm/.vagrant/machines/default/qemu/c5PrKaAESMM/edk2-aarch64-code.fd", {:notify=>[:stdout, :stderr, :stdin]}]
john-peterson commented 1 year ago

The box I am trying to run is

perk/ubuntu-2204-arm64

I want to try any qemu image and this is the first one I tried

The host is


 cat /etc/lsb-release
DISTRIB_DESCRIPTION="Ubuntu 23.04"
 uname -m
x86_64                                        
kuhl commented 10 months ago

All the Arm qemu boxes I've tried have bad configs. You can try my more conservative and faster downloading kuhl/debian12 box instead. Should work most like you're used to in Ubuntu.

unixerius commented 8 months ago

I'm using perk/ubuntu-2204-arm64. Try that please.