this is currently being processed by the PMM development team but we have a workaround you might wanna give a try for changing OVA PMM to static. Before changing IP of PMM please take a snapshot of current instance. Moreover, please test it before on a preprod instance.
Login via console to PMM instance with the following credentials:
You will be asked for changing root’s password.
Add the following to the bottom of /etc/cloud/cloud.cfg file (vi edit can be used):
Note, that cloud.cfg is YAML file, so space matters.
Execute the below command to obtain name of NM’s connection:
# nmcli dev
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected [B]System eth0[/B]
Execute the following NetworkManager’s commands to change bootproto from dhcp to static.
# IP Address in CIDR notation
nmcli con mod "System eth0" ipv4.addresses 192.168.1.250/24
# Default gateway
nmcli con mod "System eth0" ipv4.gateway 192.168.1.1
nmcli con mod "System eth0" ipv4.dns "188.8.131.52 184.108.40.206"
nmcli con mod "System eth0" ipv4.method manual
nmcli con mod "System eth0" connection.autoconnect yes
Reboot your PMM instance.
Your IP instance will changed to static. Again, please note that this is a workaround and the above might not work in future releases.