distribute VM-images with aria2 instead of ctorrent
This commit is contained in:
parent
e30a7032a5
commit
40962fd9de
23 changed files with 444 additions and 434 deletions
|
@ -1,19 +0,0 @@
|
|||
#!/usr/bin/bash
|
||||
# link VM in Use-Dir in /tmp
|
||||
|
||||
set -eu
|
||||
|
||||
# change to image-directory
|
||||
cd /lmn/vm
|
||||
|
||||
VM_DIR="/tmp/${SUDO_UID}/vm"
|
||||
|
||||
# link system-VM-Images to User VM Directory
|
||||
for i in *.qcow2; do
|
||||
[[ -f "${VM_DIR}/${i}" ]] || ln "${i}" "${VM_DIR}/${i}"
|
||||
done
|
||||
|
||||
# link system-VM-Machine-Definitions to User VM Directory
|
||||
for i in *.xml; do
|
||||
[[ -f "${VM_DIR}/${i}" ]] || ln "${i}" "${VM_DIR}/${i}"
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue