Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2019 23:12:33 +0000
From:      Simon Ser <contact@emersion.fr>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Drew DeVault <sir@cmpwn.com>
Subject:   Unattended FreeBSD installation
Message-ID:  <Xqk2kv_51AwQAXYMFjN6H--UuHk3twmoGGcGX34pr-M1j26SWikdCk0F6KzXwO5Ps8EwYF-KxxI1JjEWduBMRTMuQJ1o-9El6OwRuNE449E=@emersion.fr>

next in thread | raw e-mail | index | archive | help
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?

Thanks,

[1]: https://sr.ht
[2]: https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/images/freebsd/ge=
nimg

--
Simon Ser
https://emersion.fr





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Xqk2kv_51AwQAXYMFjN6H--UuHk3twmoGGcGX34pr-M1j26SWikdCk0F6KzXwO5Ps8EwYF-KxxI1JjEWduBMRTMuQJ1o-9El6OwRuNE449E=>