Skip to content
  • Leigh B Stoller's avatar
    New script to compute the hash of an image, create the .sha1 file, and · 92b2bc19
    Leigh B Stoller authored
    set the hash in the DB. This is helpful on system images where we save
    the image off in /proj and copy it back later, and also for computing
    the hash of the zillions of images that already exist.
    
    Usage: imagehash [-d] [-n] <imageid>
           imagehash -p <imageid>
    Options:
           -d     Turn on debug mode
           -p     Show the current hash in the DB
           -n     Impotent mode; compute hash but do not update
    92b2bc19