mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Merge pull request #171 from marineam/bashism
fix(vm_image_util): assert qemu wrapper is sh friendly
This commit is contained in:
commit
5bba92ce2c
@ -329,6 +329,7 @@ _write_qemu_conf() {
|
||||
-e "s%^VM_IMAGE=.*%VM_IMAGE='${dst_name}'%" \
|
||||
-e "s%^VM_MEMORY=.*%VM_MEMORY='${vm_mem}'%" \
|
||||
"${BUILD_LIBRARY_DIR}/qemu_template.sh" > "${script}"
|
||||
checkbashisms --posix "${script}" || die
|
||||
chmod +x "${script}"
|
||||
|
||||
cat >"${VM_README}" <<EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user