Can I automate initial setup of Foreman provisioning? That’d be: domain, subnet, os, installation media, templates, association of all templates, architecture, hostgroup.
most of the tasks are idempotent. From the examples I gave in the post, katello_sync is not – mostly because it just triggers a sync, that can’t really be idempotent and katello_content_view_version is not in the way I used it – have a look at the module docs to see what’s needed to make it idempotent.
And yes, I think we should have all of the mentioned tasks for provisioning covered. @sthirugn is currently working on a “zero to hero” setup for katello content and I think the same for provisioning would be a good addition.
Is there a way with this module to change the virtual interface in a VMware-provisioned VM? I can do it in hammer by passing the name of the vmware interface to use.
Can you show us the full hammer command you’re using for that? The answer is probably “yes, but not as straight forward as with hammer currently”.
yes, we need to be able to pass to VMWare which network to connect to. For every VM we’re using the first NIC, however we have several networks we provision on and need to be able to kickstart on multiple networks. is there a way to alter the VM after host creation if it can’t be created on the correct vmware network?
checking back. Rereading this thread I think I have muddied the waters. What I need to be able to do with the module is change value of “compute_network” so I can assign the primary interface to whatever network we are kickstarting on. is it possible to do that with this module?