mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Add LIBVIRT_DEFAULT_URI to profile.
This commit is contained in:
@@ -26,4 +26,12 @@ if [ "$(uname)" = "Darwin" ] ; then
|
|||||||
export CLICOLOR
|
export CLICOLOR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Setup for libvirt
|
||||||
|
if [ -z "${LIBVIRT_DEFAULT_URI}" ] ; then
|
||||||
|
if [ "$(id -u)" == "0" ] || (id -g -n | grep -q "\blibvirt\b") ; then
|
||||||
|
LIBVIRT_DEFAULT_URI="qemu:///system"
|
||||||
|
export LIBVIRT_DEFAULT_URI
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
test -f "${HOME}/.profile.local" && . "${HOME}/.profile.local"
|
test -f "${HOME}/.profile.local" && . "${HOME}/.profile.local"
|
||||||
|
|||||||
Reference in New Issue
Block a user