mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-22 23:14:21 +01:00
scripts: Re-add tags for hypervisor config script
PR #12 inadvertently removed the required tags for two of the qemu config options. Fixes #13. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -282,7 +282,7 @@ main()
|
||||
# SECURITY: Don't build a static binary (lowers security)
|
||||
# needed if qemu version is less than 2.7
|
||||
if [ ${qemu_version_major} -eq 2 ] && [ ${qemu_version_minor} -lt 7 ]; then
|
||||
qemu_options+=(--disable-static)
|
||||
qemu_options+=(security:--disable-static)
|
||||
fi
|
||||
|
||||
# Not required as "-uuid ..." is always passed to the qemu binary
|
||||
@@ -325,7 +325,7 @@ main()
|
||||
# Always strip binaries
|
||||
# needed if qemu version is less than 2.7
|
||||
if [ ${qemu_version_major} -eq 2 ] && [ ${qemu_version_minor} -lt 7 ]; then
|
||||
qemu_options+=(--enable-strip)
|
||||
qemu_options+=(size:--enable-strip)
|
||||
fi
|
||||
|
||||
# Support Ceph RADOS Block Device (RBD)
|
||||
|
||||
Reference in New Issue
Block a user