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: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T8d010ae1c0b972a7-M1cf2d300cbd079b586c98247
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to