
Hello, have the same problem on my centos7 vms Solved it though installing cloud-init 18.03 and using Custom script to generate network config in /etc/cloud/cloud.cfg.d/ Cloud init 18.03 installation: sudo su - #install python3 (required by cloud-init) yum install -y epel-release yum install -y python34 # Install pip3(required by cloud-init) yum install -y python34-setuptools # install easy_install-3.4 easy_install-3.4 pip #install cloud-init yum -y install wget mkdir /tmp/cloudinitsrc cd /tmp/cloudinitsrc wget https://launchpad.net/cloud-init/trunk/18.3/+download/cloud-init-18.3.tar.gz tar -zxvf cloud-init-18.3.tar.gz cd cloud-init-18.3 pip3 install -r requirements.txt python3 setup.py build python3 setup.py install --init-system systemd cloud-init init --local cloud-init status echo 'datasource_list: ["NoCloud", "ConfigDrive"]' >> /etc/cloud/cloud.cfg for svc in cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service; do sudo systemctl enable $svc sudo systemctl start $svc sudo systemctl status $svc done Custom script itself(put it in oVirt web interface) # the scrip it is yaml based config for cloud-init #network configuration write_files: - path: /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg owner: root:root permissions: '0644' content: | network: version: 1 config: - type: physical name: eth0 subnets: - type: static address: 10.10.10.10/24 gateway: 10.10.10.1 dns_nameservers: - 10.10.10.12 - 10.10.10.13 dns_search: - mydomain.com #need to reboot vm after configuration to apply network settings power_state: mode: reboot timeout: 30 condition: True