Destroy autostarted network on shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 realized that an
autostarted network has to be persistent and thus will not be destroyed
(even if the host gets shutdown). As it won't be destroyed, my cleanup
doesn't get executed and I run into trouble.

What would be the preferred way to implement an autostarting and
autostopping network?

Thanks,
Jan

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux