diff options
author | Daniil Baturin <daniil@baturin.org> | 2015-04-09 00:24:08 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-04-09 00:24:08 +0200 |
commit | 85e5c1ce01862b62b77068b5f89d42b26a1939c2 (patch) | |
tree | b48ec61ac9b8e28dca9f7c0f0ef6aa923d33d161 | |
parent | 3895c818ef587a435eab161711bb0473f3ad4052 (diff) | |
download | vyatta-op-85e5c1ce01862b62b77068b5f89d42b26a1939c2.tar.gz vyatta-op-85e5c1ce01862b62b77068b5f89d42b26a1939c2.zip |
Replace the old hypervisor_vendor utility with hvinfo.
-rw-r--r-- | debian/control | 3 | ||||
-rwxr-xr-x | 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"; } |