Please help! Can I add packages to img?

Good morning,

I need a clarification from your side. I am currently working on Radxa Rock3A module for installing Ubuntu 20.04 and make it as a server. I’m using “rock-3a-ubuntu-focal-server-arm64-20220302-0834-gpt.img.xz” (324 MB) this image from your official page.

After the installation process, device getting random IP, because of DHCP. From that DHCP ip, we need to change to our static ip. For that we’re using “Netplan”. But initially that img doesn’t have netplan, I’ve to download by my own. But in our company IT policy, DHCP ip’s don’t have all the access because of security issues. So they’ve blocked those ip’s. I can’t able to install netplan manually.

Finally what I’m asking you is Can I add Netplan package before installing the image file ?

Is there any way to edit the img file? Please help me with this.

Thank you!!