1. 06 Aug, 2014 1 commit
  2. 04 Aug, 2014 1 commit
  3. 01 Aug, 2014 1 commit
  4. 31 Jul, 2014 7 commits
  5. 30 Jul, 2014 4 commits
  6. 28 Jul, 2014 2 commits
  7. 25 Jul, 2014 12 commits
  8. 23 Jul, 2014 2 commits
  9. 18 Jul, 2014 1 commit
  10. 17 Jul, 2014 2 commits
    • Mike Hibler's avatar
    • Mike Hibler's avatar
      Add support for auto-detecting when to create a delta image. · bc7c6e40
      Mike Hibler authored
      Uses the new-ish imagezip -P option. But first we had to get that option
      to imagezip. So the key-value interface between server and client now has
      an IZOPTS key where you can pass options to imagezip (This is now used to
      pass the -N that we have always specified as well).
      Also changed imagezip to print out a less ambiguous message when the option
      is in use, if will clearly say that it is full or delta. This matters because
      we have to parse the imagezip output on the server to figure out what kind
      of image it is!
  11. 16 Jul, 2014 1 commit
    • Mike Hibler's avatar
      Fix to run slicefix after all images have been loaded. · 03bec3a7
      Mike Hibler authored
      Otherwise we might run slicefix after a base image and before a delta
      which could cause a train wreck in the FS if slicefix changes allocate
      or deallocate blocks.
      Also, grudgingly update some of the shell syntax to use constructs
      introduced in the early 1990s. Sigh...this script will no longer run
      on a PDP-11.
  12. 15 Jul, 2014 1 commit
  13. 14 Jul, 2014 1 commit
  14. 13 Jul, 2014 1 commit
  15. 12 Jul, 2014 2 commits
    • Mike Hibler's avatar
      Add config function to canonicalize the image name passed in. · a60cc3f7
      Mike Hibler authored
      This is strictly for the benefit of the Emulab config where you can
      request an image name by either ID or path, e.g. "testbed/FOO" or
      "/proj/testbed/images/FOO.ndz". Previously, simultaneous requests
      under both names would start up two different servers because we didn't
      know they were the same image. Not really a problem for downloads,
      but really not a good thing for uploads!
    • Mike Hibler's avatar
      Make sure we use -i for sendmail when we pipe into it. · 355f5aa8
      Mike Hibler authored
      This prevents a line with a single "." from meaning EOF to sendmail.
      How arcane!
      I discovered this when I ran a create_image and I didn't get the complete
      log mailed to me. This is because create_image did a frisbee download of an
      image with a single chunk, which of course printed out:
        Using Multicast
        Joined the team after 0 sec. ID is 1586355915. File is 1 chunks (963200 bytes)
      Fortunately, "arcane" is my middle name, so it didn't take me long to find
  16. 11 Jul, 2014 1 commit