mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
7 lines
201 B
Text
7 lines
201 B
Text
post_install() {
|
|
if [[ -f /etc/libvirt/qemu/networks/default.xml ]]
|
|
then
|
|
UUID=$(/usr/bin/uuidgen)
|
|
sed -i "s|<uuid></uuid>|<uuid>$UUID</uuid>|" /etc/libvirt/qemu/networks/default.xml
|
|
fi
|
|
}
|