diff options
author | Shreenidhi Shedi <53473811+sshedi@users.noreply.github.com> | 2021-08-13 00:40:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 14:10:39 -0500 |
commit | 7781dec3306e9467f216cfcb36b7e10a8b38547a (patch) | |
tree | f762da2e5ab8df590e71783ccae2930869e055dc /sysvinit/debian | |
parent | 82a30e6d821dbaec90bed066e09613bfb28fd52a (diff) | |
download | vyos-cloud-init-7781dec3306e9467f216cfcb36b7e10a8b38547a.tar.gz vyos-cloud-init-7781dec3306e9467f216cfcb36b7e10a8b38547a.zip |
Update dscheck_VMware's rpctool check (#970)
This patch updates the dscheck_VMware function's use of "vmware-rpctool".
When checking to see if a "guestinfo" property is set.
Because a successful exit code can occur even if there is an empty
string returned, it is possible that the VMware datasource will be
loaded as a false-positive. This patch ensures that in addition to
validating the exit code, the emitted output is also examined to ensure
a non-empty value is returned by rpctool before returning "${DS_FOUND}"
from "dscheck_VMware()".
Diffstat (limited to 'sysvinit/debian')
0 files changed, 0 insertions, 0 deletions