capsul-flask/capsulflask/shell_scripts/virsh-net-list.sh

3 lines
65 B
Bash
Raw Normal View History

#!/bin/sh
virsh net-list --all | tail -n +3 | awk '{ print $1 }'