virtName=`$DHAPARSE $DHAFILE getNodeProperty $1 libvirtName`
isoFile=$2
- virsh change-media fuel-master --insert hdc $isoFile
+ virsh change-media $virtName --insert hdc $isoFile
}
# API: Eject ISO from virtual DVD
virsh change-media $virtName --eject hdc
}
-# API: Wait until a suitable time to change the boot order to
+# API: Wait until a suitable time to change the boot order to
# API: "disk iso" when ISO has been booted. Can't be too long, nor
# API: too short...
# API: We should make a smart trigger for this somehow...