Skip to content

Download IEVD using IECTL

You can download IEVD using IECTL.

Procedure

  1. Add configuration of IEHUB (CLI user) using:

    $ iectl config add iehub \
            --user "email@siemens.com"  \       # iehub username
            --password "password"               # iehub password
            --url "https://iehub-url" \         # iehub url 
            --name "demoiehub" \                # iehub name        
    
  2. List library products:

    iectl iehub library list
    

    Or if the product-name is already know, then use below command to fetch product details:

    iectl iehub library list --product-name "Industiral_edge_virtual_device_name"
    

    The above command will return the artifcats information in regards to IEVD, from which we can query out the URL to download the binary.

  3. Download the IECD artifact using this command:

    iectl iehub library list --product-name "Industrial Edge Virtual Device" -q {.products[0].subTypes[0].versions[0].binaries[0].url} | jq -r | wget -i- -O  <filename>
    

Example

iectl iehub library list --product-name "Industrial Edge Virtual Device" -q {.products[0].subTypes[0].versions[0].binaries[0].url} | jq -r | wget -i- -O my_ievd.tgz

SEE ALSO