Custom cloud-init network configuration examples please?

@r00ta just so it’s clear to me,

creating that file and running netplan apply is something that’s happening at the tail end of cloud init?
It looks like it’s similar to a combination of

write_files:
  - path: /etc/netplan/50-cloud-init.yaml
    content: | 
        ... all that stuf in a netplan file ...

followed by a

runcmd: 
   - neplan apply

do I have that correct?

If so, then yea I was considering dropping the curtain mod approach and dealing with this requirement “out-of-band”

If that’s the suggested way of doing this then sure, yea I’ll do that. Probably less complicated.