Parking place Erik Caha
Posts with the tag Joilet:

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'.