Fix host-dir parsing in cos-extensions Currently cos-extensions only handles the case where host-dir flag is passed as "host-dir=/some/path", but it can also be passed without the "=" sign. In that case, host-dir will default to empty, and daemons will fail to start on the host vm. Fix the parsing of the flag to allow for "host-dir /some/path" syntax. BUG=b/498645820 TEST=Compile locally and run on VM, unit tests. RELEASE_NOTE=None Change-Id: I903a29793bf16dc8881e8dc3d6c49ad68ae1cd8e Reviewed-on: https://cos-review.googlesource.com/c/cos/cos-extensions/+/142004 Reviewed-by: Kevin Berry <kpberry@google.com> Tested-by: Miri Amarilio <mirilio@google.com>
cos-extensions is a tool used in Container-Optimized OS. It provides utility to manage COS extensions.
See CONTRIBUTING.md for how to contribute.