Use the librest-client-perl package

- Why repo something that is already part of a package in the debian
system. Both files are exact except for one whilespace.
This commit is contained in:
Kevin Scott Adams 2018-06-10 23:04:04 -04:00
parent 09c33308ff
commit 4289fb28b5
1 changed files with 6 additions and 3 deletions

View File

@ -9,10 +9,13 @@ Please be aware that this enhancment uses the FreeNAS APIs and NOT the ssh/scp l
patch -b /usr/share/pve-docs/api-viewer/apidoc.js < pve-docs/api-viewer/apidoc.js.patch
```
1. Use the following commands to copy the needed files for the FreeNAS
1. Install the perl REST Client package from the repository.
```bash
apt-get install librest-client-perl
```
1. Use the following command to copy the needed file for the FreeNAS a
```bash
mkdir -p /usr/share/perl5/REST
cp perl5/REST/Client.pm /usr/share/perl5/REST/Client.pm
cp perl5/PVE/Storage/LunCmd/FreeNAS.pm /usr/share/perl5/PVE/Storage/LunCmd/FreeNAS.pm
```