At work, building Linux VMs is a fully automated process, done with a single command.
FreeBSD VMs on the other hand, were never automated, as we install them very rarely.
As it happens rarely, the few times I needed to install a FreeBSD VM, I would scramble around to find how to mount an ISO on the VM (maybe I should have documented it the first time I needed?).
Anyway, now it’s properly documented, here.
Edit your domain definition:
| |
Then somewhere in the <devices> section, add the following:
| |
Last step, in the <os> section, add, before the hd one:
| |
Done, start the VM and it should boot straight into the ISO.