mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-21 01:42:15 +00:00
2107bd6069
With [Table_vm] othersettings=cpumode:host-passthrough;firmware:efi-secureboot, xcattest gives chtab only cpumode:host-passthrough, and bash runs firmware:efi-secureboot as a command. The environment setup then fails. chtab_command joined its words unquoted, and xcattest runs the command through /bin/bash -c. chtab_command now quotes every word, the row selector included, with the same _quote that chdef_command uses. xcattest_conf_chtab_command.t passes with this change and fails 3 of 4 checks on the previous commit. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>