jbowdre / vagrant-saltlab

A small Vagrant lab environment for learning Salt
0 stars 0 forks source link

No image virtual size specified for box on openFyde #2

Closed DarkevilPT closed 8 months ago

DarkevilPT commented 9 months ago

https://runtimeterror.dev/create-vms-chromebook-hashicorp-vagrant/ https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1794 image image

Hey John I've found your guide and I was trying to replicate it on my openFyde Single Board ARM64 device (using off course alpine for arm64 libvrt) I am always faced with that issue.. idk how to solve it.. maybe vagrand didnt installed properly and Idk if you know anything to point me into the right direction.

Ive also shared your guide at the fyde Forums to see if more people could participate and improve it. https://community.fydeos.io/t/topic/26953/1

Hope you're ok with that if anything let me know.

jbowdre commented 9 months ago

Hi @DarkevilPT,

Hmm, I'm not sure what might be causing that. You are using a different box on a different OS with a different architecture, though, so there are a lot of variables in play beyond what I was working with in my environment.

Have you tried definining machine_virtual_size in the Vagrantfile to see if that addresses the No image virtual size specified for box error? Perhaps the metadata for the box you're using just doesn't have that set for some reason.

Otherwise... I'm afraid I'm out of ideas though. I'm hardly a Vagrant expert and only have limited experience with it.

Good luck!

DarkevilPT commented 9 months ago

Nice ! I havent no once I get home. Is it just machine_virtual_size = 10GB ? something like that I imagine. Ive Tried a few options but with no luck. Ill let you know later on.

Thanks in Advance.

jbowdre commented 9 months ago

The doc says it should be specified in GB, so I suspect something like this would do the trick:

Vagrant.configure("2") do |config|
  config.vm.provider :libvirt do |libvirt|
    libvirt.machine_virtual_size = 10
  end
end
DarkevilPT commented 9 months ago

Yeah same bs.. its because.. rockchip kernel is not mainline plus theres a bunch of issues between it and the stable fake version they modified which makes anything arm on a normal pattern not to work here.. I believe.. Best to wait till fydeOS and rockchip to combine a more stable mainline thing. But hey thanks bro. That tip for VMS on ChromeOS is still dope.

Screenshot 2023-12-30 18 05 16 Screenshot 2023-12-30 18 05 07