I need to provide OVA with static IP.
I'm using clean Ubuntu 18.04 image and running (testing) on virtual box and vmware.
When I configure the IP address in the yaml file, and running the command:
sudo netplan apply
Only when I reboot the machine, the IP address changes.
This is what inside my yaml:
network: version: 2 renderer: ethernets: enp0s3: dhcp4: no addresses: [10.0.2.100/24] gateway4: 10.0.2.1 nameservers: addresses: [126.96.36.199, 188.8.131.52]
Typically, Linux does not require rebooting.
Please help me.