1. 30 Sep, 2016 1 commit
    • Nikos Skalkotos's avatar
      Replace name in md5sum file with the image name · 8d8927ab
      Nikos Skalkotos authored
      snf-image-update-helper will check the MD5 sum of the downloaded helper
      image file against the one found inside the downloaded .md5sum file.
      Before doing this, replace the name found inside the .md5sum file with
      the one of the downloaded image. They may be different due to the fact
      that curl will construct the file name from the URL when downloading.
      Till now, we used to put the name of the cdn.dev.grnet.gr URL inside the
      md5sum file instead of the actual one.
      8d8927ab
  2. 31 Oct, 2014 2 commits
  3. 22 Sep, 2014 2 commits
  4. 21 Oct, 2013 1 commit
  5. 20 Sep, 2013 3 commits
  6. 09 Sep, 2013 2 commits
  7. 02 Sep, 2013 3 commits
  8. 30 Aug, 2013 1 commit
  9. 08 Mar, 2013 1 commit
  10. 08 Feb, 2013 1 commit
  11. 07 Feb, 2013 1 commit
  12. 21 Jan, 2013 1 commit
  13. 30 Nov, 2012 1 commit
  14. 29 Nov, 2012 1 commit
  15. 28 Nov, 2012 2 commits
  16. 15 Nov, 2012 1 commit
  17. 13 Nov, 2012 1 commit
  18. 22 Oct, 2012 1 commit
    • Nikos Skalkotos's avatar
      Seperate error messages from monitoring messages · 240c2f10
      Nikos Skalkotos authored
      Do not send through the monitor pipe the error messages. They may
      contain internal sensitive information. Create a new report_error
      function for sending errors through the monitoring pipe.
      
      Conflicts:
      	snf-image-host/create
      	snf-image-host/snf-image-update-helper.in
      240c2f10
  19. 05 Oct, 2012 2 commits
  20. 02 Oct, 2012 1 commit
  21. 01 Oct, 2012 1 commit
    • Nikos Skalkotos's avatar
      Don't move the kernel out of the helper VM image · ab39c5c5
      Nikos Skalkotos authored
      When snf-image-update-helper runned, it moved the kernel and the
      initrd file out of the helper VM image. With this patch,
      snf-image-update-helper will copy the kernel to the host without
      removing it from the image.
      ab39c5c5
  22. 29 Sep, 2012 1 commit
  23. 28 Sep, 2012 3 commits
    • Dimitris Aragiorgis's avatar
      e9413eab
    • Dimitris Aragiorgis's avatar
      Xen support · 72052003
      Dimitris Aragiorgis authored
      Support launching helper domain on top of Xen hypervisor under PV mode.
      
      Helper VM becomes hypervisor aware by passing hypervisor=$HYPERVISOR
      in the kernel command line and thus acts accordingly (which logging
      devices to use, what disk/floppy devices to expect, etc)
      
      We separate all hypervisor specific functions and vars and source them
      according to $HYPERVISOR env var.
      
      Due to the fact that multiconsole for PV domains is supported only after
      linux kernel 3.2 (Stefano Stabellini tree - branch 3.2-multiconsole-2
      git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git) all
      output/error report and logging is done via hvc0.
      
      Helper domain is debootstraped with 2 kernels (linux-image-amd64,
      linux-image-xen-amd64) and is booted accordingly.
      
      Floppy is not supported in PV so floppy is passed as another disk.
      
      The images created can run on top of xen-hvm and xen-pvm hypervisor.
      
      Change logging to start with HELPER_MONITOR_ in order to parse it when
      having only one console.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      72052003
    • Nikos Skalkotos's avatar
      Delete helper img if errors occure during creation · bd0a7bd3
      Nikos Skalkotos authored
      If snf-image-update-helper exits with errors, delete the temporary
      image file from /var/lib/snf-image/helper.
      bd0a7bd3
  24. 27 Sep, 2012 2 commits
  25. 02 May, 2012 1 commit
  26. 29 Mar, 2012 1 commit
    • Nikos Skalkotos's avatar
      In update-helper ask before using a cache file · 448a829f
      Nikos Skalkotos authored
      * If -y is not specified and a cache file is found, ask the user before
      using it.
      * "Fix" the -c option's behaviour. With this commit, if -c is applied,
      the system will use the provided cache file if present and will do a
      debootstrap if the file does not exist. The result of debootstrap will
      be saved in the default cache file provided by the HELPER_CACHE_FILE
      variable. This way, we do not need to provide an extra "disable cache
      file option". One can run the program with -c "" to get this behaviour.
      448a829f
  27. 13 Feb, 2012 1 commit
  28. 22 Nov, 2011 1 commit