mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Only create unattended.iso when it doesn't already exist
This commit is contained in:
parent
d7e2407bc9
commit
f4599d7666
1 changed files with 2 additions and 2 deletions
4
quickget
4
quickget
|
@ -529,7 +529,7 @@ function get_windows() {
|
|||
echo "Downloading virtio-win.iso..."
|
||||
web_get "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" "${VM_PATH}"
|
||||
|
||||
#if [ ! -e "${VM_PATH}/unattended.iso" ]; then
|
||||
if [ ! -e "${VM_PATH}/unattended.iso" ]; then
|
||||
case ${RELEASE} in
|
||||
10|11)
|
||||
echo "Making unattended.iso"
|
||||
|
@ -537,7 +537,7 @@ function get_windows() {
|
|||
mkisofs -quiet -l -o "${VM_PATH}/unattended.iso" "${VM_PATH}/unattended/"
|
||||
;;
|
||||
esac
|
||||
#fi
|
||||
fi
|
||||
make_vm_config "${FILE_NAME}" "virtio-win.iso"
|
||||
|
||||
start_vm_info
|
||||
|
|
Loading…
Reference in a new issue