Oh, I see now! Sorry, I had to wake up a bit, it's still early in my slice
of the globe. Thanks Till for clarifying!

You want to create a new zone and then run something like
https://man.openbsd.org/autoinstall.8 to set up a new OpenBSD host?

This does sound cool, I definitely want to know what you land on. I wonder
if there is a way to provide DHCP metadata to zones, and maybe serve the
OpenBSD install.conf file from a web server in the global zone?

On Tue, Mar 23, 2021 at 8:25 AM Till Wegmueller <toaster...@gmail.com>
wrote:

> Hey Kent
>
> Unfortunately we do not provide a metadata source (cloud-init) for VM
> guests as of this writing, so you have to use the guest OS's native
> tooling for unattended installations or IPXE network booting. In bHyve
> the zones console is plumbed to the guests serial console so if your
> guest is configured to use ttyS0 as console you can login without any
> SSH or network on the guest.
>
> Hope this helps finding a solution
> -Till
>
> On 22.03.21 23:52, Kent Watsen wrote:
> >
> > How are folks automating zone creation?
> >
> > Searching DuckDuckGo/Google, not much is found regarding how a script
> > could use `zlogin` for per-zone "install" and/or "post-install"  steps.
> >   I was hoping that Ansible or even `expect` might support `zlogin`
> > but, apparently, only if using non-interactive mode?
> >
> > Ansible could SSH to the zone as a post-install step, but the install
> > itself would still be manual.  I could install one zone and then
> > snapshot/clone it for the others, letting each initially use some
> > specific temporary IP address just long enough for Ansible to log in the
> > reset it.
> >
> > FWIW, I use native zones for Intranet-facing services and Bhyve/OpenBSD
> > zones for Internet-facing services.  Most of my zones are
> > Internet-facing, so my question primarily regards "bhyve" branded zones.
> >
> > Thanks,
> > Kent
> >
> >
> >
> > *illumos <https://illumos.topicbox.com/latest>* / illumos-discuss / see
> > discussions <https://illumos.topicbox.com/groups/discuss> +
> participants
> > <https://illumos.topicbox.com/groups/discuss/members> + delivery
> options
> > <https://illumos.topicbox.com/groups/discuss/subscription> Permalink
> > <
> https://illumos.topicbox.com/groups/discuss/T8d010ae1c0b972a7-M1cf2d300cbd079b586c98247>
>

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T8d010ae1c0b972a7-Mbf37ea24305938c822856e93
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to