Parking place Erik Caha
Posts with the tag cloud-init:

Make ISO with PowerShell (cloudinit on it)

I need to customize a Linux (Ubuntu) image by cloud-init on Hyper-V. So it determines the environment - PowerShell on Windows and there are no fancy features for cloud-init, so you need a custom ISO with the YAML files. As you can expect, I started googling it. You will find an excellent script created by Chris Wu link. You will find the original script at the end of the article for reference. Issues After I tried to execute it - I run immediately into this issue: Add-Type: Line | 36 | Add-Type -CompilerParameters $cp -TypeDefinition @' | ~~~~~~~~~~~~~~~~~~~ | A parameter cannot be found that matches parameter name 'CompilerParameters'.

Deploy cloud-init customized VM to VmWare vSphere (ESXi)

I have a question. How to deploy an image connected to Azure Arc unattended. Everything should be unattended. If something needs attention, it disturbs you from playing games on Xbox. And as you can expect, because we are working with Microsoft technology, it is a Linux image. So, no surprise here that it is an Ubuntu. It is still the most loved one by Microsoft, even over their breed (Mariner and Flatcar). For some reason, the choice of the Hypervisor was vSpehere (ESXi), but as a poor man, choice without the comfort of the vCenter. The workflow is simple - through the management network from our management workstation, we deploy an image with NIC pointed to the port group connected to the internet.