N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

ProcedureTo Update Image Attributes from the Command Line

Steps
  1. Obtain a list of the images using the command:


    image -ls
    IMAGE_ID  IMAGE_NAME       CUSTOMER   DISK_VOL_ID  SIZE   OS
    2	         solaris          __grid__   22001/5      8631   Solaris
    1087      solaris_dhcpfix  __grid__   22001/22     8631	 Solaris
  2. Run the image -u command with the options of the attributes you want to update.


    image -l 22
    IMAGE_ID IMAGE_NAME  CUSTOMER   SIZE        OS       TYPE        STATE       
    22       js-sample   __grid__   30000000000 unknown  disk_image  NOT READY  
    LOCATION: nfs://3001/images/master-images/js-sample
    image -u -S 40000000000 22
    Updated image: 22
    image -l 22
    IMAGE_ID IMAGE_NAME  CUSTOMER   SIZE        OS       TYPE        STATE      
    22       js-sample    __grid__  40000000000 unknown  disk_image  NOT READY  
    LOCATION: nfs://3001/images/master-images/js-sample