Provisioning on Azure

I have what is probably a dumb question. I’m about to start provisioning some VMs in Azure. I already have some physical infrastructure I’ve been provisioning with boot disks. Is there an obvious way I’m missing to use the same kickstart for my physical infrastructure and Azure infrastructure? I know Azure only does image based provisioning, but I’m wondering if there’s some way to easily encapsulate a kickstart into an image. Thanks for reading

Hi @Habtyup

The closest thing I can think of is either doing something with cloud-init:

Tutorial - Customize a Linux VM with cloud-init in Azure - Azure Virtual Machines | Microsoft Docs

Or you can use Foreman Hooks:

theforeman/foreman_hooks: Run custom hook scripts on Foreman events (github.com)

Agree on the cloud-init. There are likely more solutions out there, but we use cloud-init at work to tune all our Azure systems once they are deployed.