mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 22:12:10 +01:00
Merge pull request #799 from dongsupark/dongsu/fix-qemu-template
Fix a bug when setting VM_CDROM in qemu template
This commit is contained in:
commit
9665a5e6fb
@ -198,7 +198,8 @@ if [ -n "${VM_UUID}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${VM_CDROM}" ]; then
|
if [ -n "${VM_CDROM}" ]; then
|
||||||
set -- -cdrom "${SCRIPT_DIR}/${VM_CDROM}" "$@"
|
set -- -boot order=d \
|
||||||
|
-drive file="${SCRIPT_DIR}/${VM_CDROM}",media=cdrom,format=raw "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${VM_PFLASH_RO}" ] && [ -n "${VM_PFLASH_RW}" ]; then
|
if [ -n "${VM_PFLASH_RO}" ] && [ -n "${VM_PFLASH_RW}" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user