libvirt-daemon-config-network-1.2.13.2-3.fc22 $ > S ̌wBdYYI > : ? d ) 0 d 3 9 A
"
$ , 6 @ ` h d ( 8 9 @ : 6r > 0 G 8 H @ I H X L Y T \ t ] | ^ b d e f l t u v w x C libvirt-daemon-config-network 1.2.13.2 3.fc22 Default configuration files for the libvirtd daemon Default configuration files for setting up NAT based networking V*6arm04-builder05.arm.fedoraproject.org Fedora Project Fedora Project LGPLv2+ Fedora Project Development/Libraries http://libvirt.org/ linux armv7hl if test $1 -eq 1 && test ! -f /etc/libvirt/qemu/networks/default.xml ; then
# see if the network used by default network creates a conflict,
# and try to resolve it
# NB: 192.168.122.0/24 is used in the default.xml template file;
# do not modify any of those values here without also modifying
# them in the template.
orig_sub=122
sub=${orig_sub}
nl='
'
routes="${nl}$(ip route show | cut -d' ' -f1)${nl}"
case ${routes} in
*"${nl}192.168.${orig_sub}.0/24${nl}"*)
# there was a match, so we need to look for an unused subnet
for new_sub in $(seq 124 254); do
case ${routes} in
*"${nl}192.168.${new_sub}.0/24${nl}"*)
;;
*)
sub=$new_sub
break;
;;
esac
done
;;
*)
;;
esac
UUID=`/usr/bin/uuidgen`
sed -e "s/${orig_sub}/${sub}/g" \
-e "s,,\n