Re: [libvirt-users] Destroy autostarted network on shutdown

2015-12-07 Thread Jan Grashöfer
> None of that really answers your question, but hopefully it at least > gives you a better idea of what you've got to work with :-) You are right ;) I guess making my initialization hook fault-tolerant towards missing cleanup plus the systemd script should fit for me. Regards, Jan _

Re: [libvirt-users] Destroy autostarted network on shutdown

2015-12-07 Thread Laine Stump
On 12/07/2015 01:20 PM, Jan Grashöfer wrote: autostarting (and autostopping) based on what event? Based on start/shutdown of the host or starting/stopping libvirtd. I just wrote a script to start with systemd but as there is that autostart functionality in libvirtd this might not be the best sol

Re: [libvirt-users] Destroy autostarted network on shutdown

2015-12-07 Thread Jan Grashöfer
> autostarting (and autostopping) based on what event? Based on start/shutdown of the host or starting/stopping libvirtd. I just wrote a script to start with systemd but as there is that autostart functionality in libvirtd this might not be the best solution. Regards, Jan ___

Re: [libvirt-users] Destroy autostarted network on shutdown

2015-12-07 Thread Laine Stump
On 12/06/2015 12:19 PM, Jan Grashöfer wrote: Hi all, I just ran into problem properly stopping a network. I have defined a network and network hook script to accomplish some preparations and cleanup. Testing my configuration (virsh net-start and virsh net-destroy) was successfully. Now I wanted

[libvirt-users] Destroy autostarted network on shutdown

2015-12-06 Thread Jan Grashöfer
Hi all, I just ran into problem properly stopping a network. I have defined a network and network hook script to accomplish some preparations and cleanup. Testing my configuration (virsh net-start and virsh net-destroy) was successfully. Now I wanted to automate the lifecycle. Unfortunately I rea