summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-04-09 00:24:08 +0200
committerDaniil Baturin <daniil@baturin.org>2015-04-09 00:24:08 +0200
commit85e5c1ce01862b62b77068b5f89d42b26a1939c2 (patch)
treeb48ec61ac9b8e28dca9f7c0f0ef6aa923d33d161 /scripts
parent3895c818ef587a435eab161711bb0473f3ad4052 (diff)
downloadvyatta-op-85e5c1ce01862b62b77068b5f89d42b26a1939c2.tar.gz
vyatta-op-85e5c1ce01862b62b77068b5f89d42b26a1939c2.zip
Replace the old hypervisor_vendor utility with hvinfo.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-show-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-version b/scripts/vyatta-show-version
index d6ab51a..dd4f7bc 100755
--- a/scripts/vyatta-show-version
+++ b/scripts/vyatta-show-version
@@ -183,7 +183,7 @@ my %options = (
#
# main
#
-my $hv = `/opt/vyatta/sbin/hypervisor_vendor`;
+my $hv = `hvinfo`;
if (defined($hv) && $hv ne "") {
$versionfile .= "-virt";
}