mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +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
|
||||
|
||||
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
|
||||
|
||||
if [ -n "${VM_PFLASH_RO}" ] && [ -n "${VM_PFLASH_RW}" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user