Skip to content

Instantly share code, notes, and snippets.

@akutz
Created August 9, 2021 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akutz/0e0b2fbaba26e42dc85adbb45030ff12 to your computer and use it in GitHub Desktop.
Save akutz/0e0b2fbaba26e42dc85adbb45030ff12 to your computer and use it in GitHub Desktop.
# TODO(akutz) Possibly reintroduce this at a later date. For now this
# is omitted to be consistent with the original datasource.
# When reintroduced, the same check should occur in the
# _get_data function in the DataSourceVMware.py file as
# well.
#
# Unfortunately there is no standard behavior with respect
# to translating the DI_VIRT check in this file and in the
# actual datasource python files.
#
# Do not proceed unless the detected platform is VMware.
#if [ ! "${DI_VIRT}" = "vmware" ]; then
# return "${DS_NOT_FOUND}"
#fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment