diff --git a/build_library/vm_image_util.sh b/build_library/vm_image_util.sh index bd6093996d..174b5dd161 100644 --- a/build_library/vm_image_util.sh +++ b/build_library/vm_image_util.sh @@ -280,52 +280,36 @@ _write_qemu_conf() { local src_name=$(basename "$VM_SRC_IMG") local dst_name=$(basename "$VM_DST_IMG") local dst_dir=$(dirname "$VM_DST_IMG") - local conf_path="${dst_dir}/$(_src_to_dst_name "${src_name}" ".conf")" + local script="${dst_dir}/$(_src_to_dst_name "${src_name}" ".sh")" - # FIXME qemu 1.4/5 doesn't support these options in config files - # Seems like submitting a patch to fix that and documenting this - # format would be a worthy projects... - # name=${VM_NAME} - # uuid=${VM_UUID} - # m=${vm_mem} - # cpu=kvm64 - # smp=2 + cat >"${script}" <"${conf_path}" <"${VM_README}" <