> On Mar 22, 2021, at 10:52 PM, Kent Watsen <[email protected]> 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?
> 

I use Triton, so it handles all of that for me. SmartOS has a SMF service that 
reads certain metadata from the zone, among them a user script that runs on 
boot. I use that to bootstrap chef. I’ll probably set that up differently later 
to have salt bootstrap the node in chef so that I don’t need to keep track of 
nodes’ chef identities so I can reprovision them.

salt also speaks cloud-init natively, so it’s easier for me to integrate there.


--
Coy Hile
[email protected]





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

Reply via email to