Brad Smith <b...@comstyle.com> writes:
> On 2/6/2019 3:25 PM, Alex Bennée wrote: > >> Brad Smith <b...@comstyle.com> writes: >> >>> On 2/5/2019 8:57 AM, Brad Smith wrote: >>> >>>> If someone could point me in the right direction as to how the image >>>> is created >>>> I could look at coming up with something newer. I would prefer that >>>> over some >>>> of the workarounds I've seen to date. >>> I started creating the image and then wondered what do I set the root >>> password >>> to? The instructions also talk about an SSH key but I don't know how >>> that would >>> work when this image is used for the VM test framework. >> See tests/keys - basically we have a hard-wired testing key. > So the root password doesn't matter? I don't think so. See "Adding new guests" in docs/devel/testing.rst The Ubuntu and CentOS build_image methods are a bit more elaborate in that they build a cloud-image iso which contains a bunch of metadata for the image to apply on boot-up. The OpenBSD build_image just downloads the data and uncompresses it. The defaults in BaseIMG are: GUEST_USER = "qemu" GUEST_PASS = "qemupass" ROOT_PASS = "qemupass" >>> I updated the instructions on the Wiki to make use of VirtIO for both >>> the NIC and disk controller. >> Can the OpenBSD kernel use virtio-net-pci and virtio-scsi-pci? >> >> It's not super important for build testing but they are the most capable >> variants of virtio. The virtio-pci gives nice discover-able hotplug and >> I believe you need virtio-scsi-pci if you want to use funky options like >> discard for thin provisioning. > > Yes to both. Cool. -- Alex Bennée