[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-12-06 Thread Eitan Raviv
We will consider changing the behaviour. This is indeed not intuitive. On Thu, Dec 6, 2018 at 10:24 AM Mike Lykov wrote: > 05.12.2018 13:04, Eitan Raviv пишет: > > After further investigation I would like to share one more important > > piece of information that explains the "reset" behaviour

[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-12-06 Thread Mike Lykov
05.12.2018 13:04, Eitan Raviv пишет: After further investigation I would like to share one more important piece of information that explains the "reset" behaviour of the network configuration: Thanks for that detailed clarification. When a VM is started in 'Run once' mode, the initialization

[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-12-05 Thread Eitan Raviv
After further investigation I would like to share one more important piece of information that explains the "reset" behaviour of the network configuration: When a VM is started in 'Run once' mode, the initialization parameters supplied for that run are always passed by engine to cloud-init in the

[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-11-28 Thread Eitan Raviv
On Wed, Nov 28, 2018 at 7:29 AM Mike Lykov wrote: > > 27.11.2018 16:15, Eitan Raviv пишет: > > According to cloud-init 0.7.9 documentation cloud-init is configured > > to run by default on each boot [1] and to render the user-selected > > network configuration on first boot [2]. Also, in absence

[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-11-27 Thread Mike Lykov
27.11.2018 16:15, Eitan Raviv пишет: According to cloud-init 0.7.9 documentation cloud-init is configured to run by default on each boot [1] and to render the user-selected network configuration on first boot [2]. Also, in absence of a data source to configure the network, it will fall back to

[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-11-27 Thread Eitan Raviv
According to cloud-init 0.7.9 documentation cloud-init is configured to run by default on each boot [1] and to render the user-selected network configuration on first boot [2]. Also, in absence of a data source to configure the network, it will fall back to configuring DHCP on eth0 [2]. As you

[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-11-21 Thread Mike Lykov
20.11.2018 15:30, Mike Lykov пишет: "cloud-init used to use a "marker" file that it created on initial execution. If that "marker" file existed it would not rerun on reboot. " - are it not working  in ovirt/this cloud-init version ? new restart: -- 2018-11-21 12:40:53,314 -

[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-11-20 Thread Mike Lykov
20.11.2018 15:30, Mike Lykov пишет: DataSourceNotFoundException: Did not find any data source, searched classes: (DataSourceNoCloudNet) 2018-11-20 13:53:24,194 - stages.py[DEBUG]: applying net config names for {'version': 1, 'config': [{'subnets': [{'type': 'dhcp'}], 'type': 'physical',