From 85e5c1ce01862b62b77068b5f89d42b26a1939c2 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 9 Apr 2015 00:24:08 +0200 Subject: Replace the old hypervisor_vendor utility with hvinfo. --- debian/control | 3 ++- scripts/vyatta-show-version | 2 +- 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"; } -- cgit v1.2.3