Unattended FreeBSD installation

Andrey Fesenko f0andrey at gmail.com
Tue Feb 5 23:30:54 UTC 2019


On Wed, Feb 6, 2019 at 2:13 AM Simon Ser <contact at emersion.fr> wrote:
>
> Hi all,
>
> For the purposes of a CI service [1], I want to write a script that
> generates a fresh qcow2 FreeBSD image. So far I've been using
> bsdinstall(8) and this has been working well when testing locally [2].
> However this doesn't work when run from SSH because bsdinstall(8) uses
> dialog(1), which requires a TTY (or fails).
>
> I've been wondering: you offer qcow2 images available for download on
> your website, but how are these generated? I don't think I can use these
> directly since I need to enable sshd, but I could probably re-use your
> image generation script.
>
> If it's not possible to use the same script, do you have suggestions to
> make it work?
>

What not use make vm-release https://adventurist.me/posts/0283

If you use openstack may be need patch
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213396


More information about the freebsd-hackers mailing list