Update install dir for dscheck_VMwareGuestInfo
This patch amends 9efe9a2f1523e25bbd88e2b8952f0cccf061e0bb and updates
the install directory for dscheck_VMwareGuestInfo to /usr/bin as
/usr/local/bin is not in the PATH when systemd runs
cloud-init-generator, which uses ds-identify to determine what
datasources are available.
diff --git a/dscheck_VMwareGuestInfo.sh b/dscheck_VMwareGuestInfo.sh
index 2e55e0b..fc3a6eb 100644
--- a/dscheck_VMwareGuestInfo.sh
+++ b/dscheck_VMwareGuestInfo.sh
@@ -13,7 +13,7 @@
# file.
#
-# This file should be installed to /usr/local/bin/dscheck_VMwareGuestInfo
+# This file should be installed to /usr/bin/dscheck_VMwareGuestInfo
# without the ".sh" extension. The extension only exists to make it easier
# to identify the file during development.
#
diff --git a/install.sh b/install.sh
index 8252703..89c4bca 100755
--- a/install.sh
+++ b/install.sh
@@ -36,10 +36,10 @@
curl -sSL -o /etc/cloud/cloud.cfg.d/99-DataSourceVMwareGuestInfo.cfg \
"${REPO_SLUG}/${GIT_REF}/99-DataSourceVMwareGuestInfo.cfg"
-# Download program used by ds-identify to determine wheether or not the
+# Download program used by ds-identify to determine whether or not the
# VMwareGuestInfo datasource is useable.
-curl -sSL -o "/usr/local/bin/dscheck_VMwareGuestInfo" \
+curl -sSL -o "/usr/bin/dscheck_VMwareGuestInfo" \
"${REPO_SLUG}/${GIT_REF}/dscheck_VMwareGuestInfo.sh"
-chmod 0755 "/usr/local/bin/dscheck_VMwareGuestInfo"
+chmod 0755 "/usr/bin/dscheck_VMwareGuestInfo"
echo "So long, and thanks for all the fish."