mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 00:07:55 +00:00
scripts: Add extra hypervisor config script option check
Add a check on the element (configure option). Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -153,6 +153,8 @@ show_array()
|
|||||||
tags=$(echo "$entry"|cut -s -d: -f1)
|
tags=$(echo "$entry"|cut -s -d: -f1)
|
||||||
elem=$(echo "$entry"|cut -s -d: -f2-)
|
elem=$(echo "$entry"|cut -s -d: -f2-)
|
||||||
|
|
||||||
|
[ -z "$elem" ] && die "no option for entry '$entry'"
|
||||||
|
|
||||||
check_tags "$tags" "$entry"
|
check_tags "$tags" "$entry"
|
||||||
|
|
||||||
if [ "$action" = "dump" ]
|
if [ "$action" = "dump" ]
|
||||||
|
Reference in New Issue
Block a user