[ovirt-users] cloud-init issue /IP address lost
Hi All, I am using a centos template which I had imported from ovirt-image-repository. Whenever I make a VM from this template and configure its initial run section and run it for the first time, everything goes well. As long as I reboot the server, the VM lost its network configuration (IP, gateway, dns) Then I have to put these parameters again manually. In addition, when I shut down the VM and change its name, the same problem happens again. This actually causes me pretty much long downtime in order to configure the parameters again. Your help is highly appreciated. Best Regards ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] cloud-init issue /IP address lost
Hello Amir, I had the same issue. I've set as raw command in cloud init scripts the disable of autostart of cloud-init service at boot, so this doesn't bother anymore. Luca Il 21 feb 2018 8:48 AM, "Shamam Amir" ha scritto: > Hi All, > I am using a centos template which I had imported from > ovirt-image-repository. Whenever I make a VM from this template and > configure its initial run section and run it for the first time, everything > goes well. As long as I reboot the server, the VM lost its network > configuration (IP, gateway, dns) Then I have to put these parameters again > manually. In addition, when I shut down the VM and change its name, the > same problem happens again. This actually causes me pretty much long > downtime in order to configure the parameters again. > Your help is highly appreciated. > > > Best Regards > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] cloud-init issue /IP address lost
An alternative to disabling the service is: touch /etc/cloud/cloud-init.disabled On 21 February 2018 at 08:02, Luca 'remix_tj' Lorenzetto < lorenzetto.l...@gmail.com> wrote: > Hello Amir, > > I had the same issue. I've set as raw command in cloud init scripts the > disable of autostart of cloud-init service at boot, so this doesn't bother > anymore. > > Luca > > Il 21 feb 2018 8:48 AM, "Shamam Amir" ha > scritto: > >> Hi All, >> I am using a centos template which I had imported from >> ovirt-image-repository. Whenever I make a VM from this template and >> configure its initial run section and run it for the first time, everything >> goes well. As long as I reboot the server, the VM lost its network >> configuration (IP, gateway, dns) Then I have to put these parameters again >> manually. In addition, when I shut down the VM and change its name, the >> same problem happens again. This actually causes me pretty much long >> downtime in order to configure the parameters again. >> Your help is highly appreciated. >> >> >> Best Regards >> >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> >> > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users