summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
}