How-to Build An Overlay Image Containing percCLI Debian and GET the perccli catalog

Step-by-step guide

  1. Add the repo https://github.com/RackHD/on-imagebuilder
  2. Refer Readme  in that repo :
    1. Refer to the Requirements section and install ansible (version2.0.2.0)
    2. Refer the Getting started section to build the default images first
      1.  $ cd on-imagebuilder/
      2.  $ sudo ./build_all.s
    3. 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:
      1. sudo apt-get install alien
      2. sudo alien -k perccli-1.11.03-1.noarch.rpm
    4. 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
  3. Run ./build_oem.sh to build the overlayfs
    1. This should create the dell.raid.overlay.cpio.gz image in /tmp/on-imagebuilder/build
  4. Copy the image dell.raid.overlay.cpio.gz to /on-http/static/http/common
  5. Restart the RackHD service.
  6. POST workflow Graph.Dell.perccli.Catalog
  7. GET /catalogs/perccli-version