1. 23 Dec, 2015 3 commits
  2. 22 Dec, 2015 15 commits
  3. 07 Dec, 2015 1 commit
  4. 02 Dec, 2015 2 commits
    • Nikos Skalkotos's avatar
      Use check_yes_no on all boolean img properties · 718828a0
      Nikos Skalkotos authored
      Fix the code for OFFLINE_NTFSRESIZE and OFFLINE_NTFSRESIZE_NOCHECK
      image properties.
      718828a0
    • Nikos Skalkotos's avatar
      Merge branch 'feature-windows-legacy' into develop · 3be9e215
      Nikos Skalkotos authored
      The main goal of this patch set is to add support for Windows XP/Server
      2003 Images.  In the process, it also adds:
      
       * The ability for a simple debug shell under KVM, so a developer or the
         administrator can access the helper VM directly for simpler debugging,
       * Robust helper shutdown and mounting/un-mounting of NTFS, fixing the
         remote possibility of data loss.
      
      Conflicts:
      	docs/interface.rst
      	snf-image-helper/common.sh.in
      	snf-image-helper/tasks/50AssignHostname.in
      	snf-image-host/kvm-common.sh
      3be9e215
  5. 01 Dec, 2015 1 commit
  6. 30 Nov, 2015 1 commit
  7. 27 Nov, 2015 1 commit
  8. 26 Nov, 2015 3 commits
  9. 19 Nov, 2015 2 commits
  10. 18 Nov, 2015 2 commits
  11. 17 Nov, 2015 1 commit
  12. 16 Nov, 2015 3 commits
  13. 12 Nov, 2015 1 commit
  14. 06 Oct, 2015 1 commit
  15. 29 Sep, 2015 1 commit
  16. 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
  17. 24 Jun, 2015 1 commit
    • Vangelis Koukis's avatar
      Make disabling and enabling RDP more robust · 37773398
      Vangelis Koukis authored
      Enhance the DisableRemoteDesktopConnections task,
      so disabling and re-enabling RDP is more robust,
      and respects Image-specific policy.
      
      Previously, snf-image would disable RDP unconditionally
      inside DisableRemoteDesktopConnections and assume there would be
      an appropriate <RunSynchronousCommand> entry in unattend.xml
      so SYSPREP would enable RDP unconditionally during the specialize
      pass of the Windows Setup.
      
      This has two main problems:
         * It assumes a specific answer file, with snf-image specific content.
           However, the answer file is Image-specific policy, and ideally
           snf-image should not make any assumption on its contents.
         * It enables RDP unconditionally, even though it may have been
           disabled inside a specific Image by the Administrator, on purpose,
           thus introducing a potential security risk.
      
      To solve this problem, make DisableRemoteDesktopConnections
      self-standing:
         * Note whether RDP was initially disabled or not,
         * Disable it unconditionally via a direct edit of the Registry,
           so no incoming RDP connections are allowed while SYSPREP is running,
         * Insert a command to set it to its original state when Setup is
           complete, without depending on the contents of unattend.xml
           or other answer file.
      37773398