churchers / vm-bhyve

Shell based, minimal dependency bhyve manager
BSD 2-Clause "Simplified" License
825 stars 174 forks source link

Make 'vm install' fetch from URIs for one-off installs #502

Open cgull opened 1 year ago

cgull commented 1 year ago

As a developer, I often have to do an install once from an ISO build fetched from somewhere.

This extends vm install to try fetching the ISO named passed as a URL if it isn't found locally, and to delete it after the command exit. It's a little simple-minded but it helps me, maybe it'll help someone else.