Ubuntu 20.04 Static IP

Get the network interface name
# ip a

Edit:
00-installer-config.yaml

Located in:
/etc/netplan/

Example:

network:
  ethernets:
    ens6f0:
      addresses: [192.168.30.24/24]
      gateway4: 192.168.30.1
  version: 2