Discussion  - 
 
script for making nat networks in libvirt. lazy shortcut for "virsh net-define"

https://gist.github.com/xahare/a9ecb81b24e668e7c634
script for making local nat networks in libvirt. uses linux specific commands to check if the network already exists and to find a free bridge.
2
Michal Prívozník's profile photopixel fairy's profile photo
 
You know that you can 'import libvirt' and then drop invoking virsh in favour of calling net APIs directly, right?
 
Lol! Didnt even think of it! Started as a bash script.
Add a comment...