vmactions / solaris-vm

Use Solaris in github actions
https://vmactions.org
MIT License
25 stars 4 forks source link

Faster vm creation: Can we start a vm without desktop? #11

Closed icy closed 8 months ago

icy commented 3 years ago

Hi the team,

thanks a lot for your great work. We now can support tests in our project. The problem we're facing is that the vm creation + tests take so much time, and as @mondeja has pointed out the vm create takes 17 minutes [1]

Is that an option we have a vm without desktop support? Just a base installation where we can start to install stuff we need? I suspect that's be faster.

Thanks for your reading.

[1] https://github.com/icy/pacapt/pull/194#issuecomment-877384452 [2] https://github.com/icy/pacapt/pull/194#issuecomment-877421468

Neilpang commented 3 years ago

Yes, I also noticed that the vm is slow to start. Most of the time is costed in booting the VM.

I will check if we can speed up the booting time later.

Thanks.

wdlkmpx commented 1 year ago

Solaris 11 vm = 3.3 GB https://www.oracle.com/solaris/solaris11/downloads/solaris-downloads.html

I wonder if it's possible to support Solaris 10 = 2.1 GB https://www.oracle.com/solaris/solaris11/downloads/solaris11-vmtemplates-vmvirtualbox-downloads.html

Perhaps it takes less than 20 minutes to load

mirabilos commented 8 months ago

This probably works with the new libvirt/kvm/ssh-based system, should close.

But @wdlkmpx maybe make a separate feature request to also support older releases? (I wouldn’t mind 8 and even older ones *iff there are compilers for those.)