How-to Build An Overlay Image Containing percCLI Debian and GET the perccli catalog
Step-by-step guide
- Add the repo https://github.com/RackHD/on-imagebuilder
- Refer Readme in that repo :
- Refer to the Requirements section and install ansible (version2.0.2.0)
- Refer the Getting started section to build the default images first
- $ cd on-imagebuilder/
- $ sudo ./build_all.s
- Refer the Note section to download and unzip the percCLI package and derive a debian version using ‘alien’ There is no .deb version perccli tool. User can download .rpm perccli from https://downloads.dell.com/FOLDER02444760M/1/perccli-1.11.03-1_Linux_A00.tar.gz unzip the package and then use alien to get a .deb version perccli tool as below:
- sudo apt-get install alien
- sudo alien -k perccli-1.11.03-1.noarch.rpm
- OEM roles provision_dell_raid_overlay and provision_secure_erase_overlay require perccli_1.11.03-1_all.deb being copied into common/files in /on-imagebuilde
- Run ./build_oem.sh to build the overlayfs
- This should create the dell.raid.overlay.cpio.gz image in /tmp/on-imagebuilder/build
- Copy the image dell.raid.overlay.cpio.gz to /on-http/static/http/common
- Restart the RackHD service.
- POST workflow Graph.Dell.perccli.Catalog
- GET /catalogs/perccli-version
Related articles