1. 28 Sep, 2015 1 commit
    • Nikos Skalkotos's avatar
      Add check_yes_no() to test boolean img properties · 52572781
      Nikos Skalkotos authored
      Use check_yes_no() to test if a boolean property is set.
      
      Although the documentation states that to set a boolean image property
      you need to assign the "yes" value to it, this function will accept
      "yes", "true", 1, "on" and "set" in a case-insensitive way and reject
      "no", "false", 0, "off" and "unset".
      
      An empty or not-set variable is treated as false.
      
      An unknown value will raise a warning but will be accepted. This is done
      to protect the users because prior to this commit, in some cases we only
      tested if an image property had a non-empty value.
      
      This resolves #80
      52572781
  2. 09 Feb, 2015 1 commit
  3. 13 Oct, 2014 2 commits
  4. 14 Mar, 2014 1 commit
  5. 29 Oct, 2013 1 commit
  6. 18 Oct, 2013 1 commit
  7. 18 Apr, 2013 1 commit
  8. 08 Feb, 2013 2 commits
  9. 07 Feb, 2013 1 commit
  10. 07 Jan, 2013 1 commit
  11. 15 Dec, 2012 1 commit
  12. 13 Nov, 2012 2 commits
  13. 28 Sep, 2012 1 commit
  14. 26 Sep, 2012 2 commits
  15. 24 Sep, 2012 1 commit
  16. 17 May, 2012 1 commit
  17. 15 May, 2012 1 commit
  18. 09 May, 2012 1 commit
  19. 13 Feb, 2012 1 commit
  20. 19 Dec, 2011 1 commit
  21. 12 Dec, 2011 1 commit
  22. 22 Nov, 2011 2 commits
  23. 11 Nov, 2011 2 commits
  24. 10 Nov, 2011 1 commit
    • Nikos Skalkotos's avatar
      Fix various bugs in snf-image-helper · 38552c68
      Nikos Skalkotos authored
      * In decode-properties.py, use subprocess.Popen method instead of
        subprocess.check_output, which is introduced in python 2.7
      
      * Fix a bug in snf-image-helper where decode-properties.py was not
        properly called
      
      * Fix a bug in FixPartitionTable task
      38552c68
  25. 09 Nov, 2011 1 commit
  26. 08 Nov, 2011 1 commit
  27. 03 Nov, 2011 1 commit
  28. 17 Oct, 2011 1 commit
  29. 11 Oct, 2011 1 commit
    • Vangelis Koukis's avatar
      Fix minor bugs, update AUTHORS · af4a3462
      Vangelis Koukis authored
      Make sure snf-image-host passes the magic argument
      in the kernel command line of the helper VM to activate snf-image-helper,
      update AUTHORS.
      af4a3462
  30. 10 Oct, 2011 2 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
      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
  31. 07 Oct, 2011 2 commits
  32. 06 Oct, 2011 1 commit