fixed bugs
This commit is contained in:
parent
4e5eebe367
commit
983e915090
4 changed files with 20 additions and 9 deletions
|
@ -11,4 +11,12 @@ VM_DIR="/tmp/${SUDO_UID}/vmimages"
|
|||
# link system-VM-Images to User VM Directory
|
||||
for i in *.qcow2; do
|
||||
[[ -f "${VM_DIR}/${i}" ]] || ln "${i}" "${VM_DIR}/${i}"
|
||||
done
|
||||
done
|
||||
|
||||
# change to image-directory
|
||||
cd /var/lib/libvirt/images/xml
|
||||
|
||||
# link system-VM-Machine-Definitions to User VM Directory
|
||||
for i in *.xml; do
|
||||
[[ -f "${VM_DIR}/xml/${i}" ]] || ln "${i}" "${VM_DIR}/xml/${i}"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue