1. 29 Dec, 2015 1 commit
  2. 23 Dec, 2015 1 commit
    • Nikos Skalkotos's avatar
      Reorder the task priorities · 4e49a904
      Nikos Skalkotos authored
      Theoretically, if an image contains an XFS filesystem with no free
      space, the deployment will fail unless the FilesystemResizeMounted
      tasks runs before any other mounted task. The only exception to this
      is InstallUnattend which the task depends on.
      4e49a904
  3. 22 Dec, 2015 4 commits
  4. 01 Dec, 2015 1 commit
  5. 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
  6. 24 Jun, 2015 1 commit
    • Vangelis Koukis's avatar
      Add support for Windows XP / Server 2003 Images · 3bcb05ab
      Vangelis Koukis authored
      Introduce support for Windows XP / Server 2003 Images.
      
      To do this:
          * Extend common.sh and 40InstallUnattend so they can also detect
            Windows XP / Server 2003 SYSPREP.INF answer files.
          * Extend 50AssignHostname so it can set the hostname inside
            SYSPREP.INF, based on a small handle-ini-file.py utility.
          * Remove the seemingly unnecessary addition of /LOGONPASSWORDCHG:NO,
            which is unsupported under XP / Server 2003. More on this below.
          * Warn the user about Windows XP / Server 2003 not supporting
            online NTFS resize, and the need to use OFFLINE_NTFSRESIZE
            instead.
      
      Regarding the use of /LOGONPASSWORDCHG:NO while using NET USER
      to change a user password:
          * This argument is unsupported under Windows XP / Server 2003,
            see http://blog.johnmuellerbooks.com/2011/04/12/working-with-net-user/
          * Its default value is "NO" anyway, so it shouldn't make a
            difference whether it is explicitly specified in the command line
            or not:
            https://answers.microsoft.com/en-us/windows/forum/windows_vista-security/setting-up-passwords-for-new-users/1704349b-31a3-4340-ae9e-1473c5adb919
          * Even if the security policies of a specific Image were set up
            in such way that users *were* required to change their passwords
            immediately upon their first logon, it is not snf-image's job
            to modify this behavior by specifying /LOGONPASSWORDCHG:NO.
            The password policy is Image-specific, and snf-image shouldn't
            mess with it.
      3bcb05ab
  7. 29 Apr, 2015 1 commit
    • Nikos Skalkotos's avatar
      Implement EXCLUDE_MOUNTED_TASKS image property · 27b7f907
      Nikos Skalkotos authored
      If this property is defined, then only the tasks that are meant to run
      before the VM's disk gets mounted (namely FixPartitionTable and
      FilesystemResizeUmounted) will be allowed to run during deployment.
      
      This resolves #77
      27b7f907
  8. 15 Sep, 2014 1 commit
  9. 14 Mar, 2014 1 commit
  10. 14 Dec, 2012 1 commit
  11. 22 Nov, 2012 1 commit
  12. 13 Nov, 2012 1 commit
  13. 06 Sep, 2012 1 commit
    • Nikos Skalkotos's avatar
      Make sure EnforcePersonality runs last · c50358a6
      Nikos Skalkotos authored
      When a users inject a file in an image that already exists,
      we want to make sure that this file is not altered by any other task.
      So, the EnforcePersonality task, is the last task that should run
      before the image is unmounted.
      c50358a6
  14. 29 May, 2012 1 commit
    • Nikos Skalkotos's avatar
      cleanup! cleanup! cleanup! cleanup! · a50a2bff
      Nikos Skalkotos authored
       * Change the monitor message type names once again (hope this is
         the final version)
       * Pass -u (unbuffered) to sed to retain the actual output order in
         the log file
       * Fix a bug in helper code where the starting `{' was missing from
         the monitoring messages
      a50a2bff
  15. 24 May, 2012 1 commit
  16. 17 May, 2012 1 commit
  17. 18 Nov, 2011 1 commit
  18. 16 Nov, 2011 1 commit
  19. 09 Nov, 2011 1 commit
  20. 04 Nov, 2011 1 commit
  21. 10 Oct, 2011 2 commits
  22. 06 Oct, 2011 1 commit
  23. 05 Oct, 2011 1 commit
  24. 30 Sep, 2011 1 commit
  25. 29 Sep, 2011 3 commits
  26. 28 Sep, 2011 5 commits