1. 20 Sep, 2013 1 commit
  2. 09 Sep, 2013 2 commits
  3. 02 Sep, 2013 2 commits
  4. 30 Aug, 2013 2 commits
  5. 08 Mar, 2013 1 commit
  6. 08 Feb, 2013 1 commit
  7. 07 Feb, 2013 1 commit
  8. 21 Jan, 2013 1 commit
  9. 30 Nov, 2012 1 commit
  10. 29 Nov, 2012 1 commit
  11. 28 Nov, 2012 2 commits
  12. 15 Nov, 2012 1 commit
  13. 13 Nov, 2012 1 commit
  14. 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
  15. 05 Oct, 2012 2 commits
  16. 02 Oct, 2012 1 commit
  17. 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
  18. 29 Sep, 2012 1 commit
  19. 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
  20. 27 Sep, 2012 2 commits
  21. 02 May, 2012 1 commit
  22. 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
  23. 13 Feb, 2012 1 commit
  24. 22 Nov, 2011 1 commit
  25. 08 Nov, 2011 1 commit
  26. 26 Oct, 2011 2 commits
  27. 20 Oct, 2011 1 commit
  28. 10 Oct, 2011 3 commits
    • Vangelis Koukis's avatar
      Avoid activating snf-image-helper by mistake · ff7783b8
      Vangelis Koukis authored
      Only activate the snf-image-helper automatically if the caller
      has passed a magic argument in the kernel command line.
      
      Require a '--force' argument to activate snf-image-helper,
      to avoid accidental execution of the script.
      ff7783b8
    • Nikos Skalkotos's avatar
      Replace losetup in update-helper with the $LOSETUP · 55d2fc47
      Nikos Skalkotos authored
      This is really minor, but since we are using a bash var for losetup in
      create, which is overwritable from the defaults file, lets keep it that
      way.
      55d2fc47
    • Nikos Skalkotos's avatar
      Mass cleanup and some bug fixing · bad5ca1f
      Nikos Skalkotos authored
       * Make all "local" variables lowercase.
       * Move HELPER_EXTRA_PKGS from snf-image-update-helper to common.sh
       * Protect all variables from spaces and other special chars
       * Remove extra X's from mktemp template names (only 6 are supported).
       * Make sure pipelines fail if any command (not only the rightmost)
         fails
      bad5ca1f
  29. 07 Oct, 2011 1 commit