summaryrefslogtreecommitdiff
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
parent3895c818ef587a435eab161711bb0473f3ad4052 (diff)
downloadvyatta-op-85e5c1ce01862b62b77068b5f89d42b26a1939c2.tar.gz
vyatta-op-85e5c1ce01862b62b77068b5f89d42b26a1939c2.zip
Replace the old hypervisor_vendor utility with hvinfo.
-rw-r--r--debian/control3
-rwxr-xr-xscripts/vyatta-show-version2
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 56bbef3..75c384a 100644
--- a/debian/control
+++ b/debian/control
@@ -30,7 +30,8 @@ Depends: sed (>= 4.1.5),
net-tools,
libtimedate-perl,
usbutils,
- lsscsi
+ lsscsi,
+ hvinfo
Replaces: vyatta-serial
Suggests: util-linux (>= 2.13-5),
ncurses-bin (>= 5.5-5),
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";
}