jbjohnso
315a7a3c4a
Change nextdestiny to use system context rather than nebulous user context in powershell
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 20:15:27 +00:00
jbjohnso
9e9000d609
Make local system work and also clean out messages
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 19:55:24 +00:00
jbjohnso
30d67b4813
Modify xCAT powershell module to:
...
-Support it's own per-user cert store
-Use more capable .Net x509 management functions
-Work with lower .net requirement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 19:55:13 +00:00
jbjohnso
3995fae3b6
Fix nextdestiny powershell script to have WinPE skip trying to retrieve CA certs mid-connection
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:20:29 +00:00
jbjohnso
4b2e5beb12
Fix issues with previous commit
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 19:36:31 +00:00
jbjohnso
ee48169642
Fix issue where powershell instrumentation fired up with no hope of successfully performing SSL
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 19:36:20 +00:00
jbjohnso
037f32bd54
Have upflag try to use powershell when available instead of exes.
...
Have xCAT powershell client attempt without a certificate when no client certificate specified
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-23 17:23:20 +00:00
jbjohnso
de9fbe4f82
Show errors in default formatting.
...
Add function to import exported credential package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-18 00:17:34 +00:00
jbjohnso
9d374c1421
Finish xcoll, add some more objects to control formatting better, have NodeRange on pipeline attempt to join for chaining after xcoll
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 17:20:53 +00:00
jbjohnso
ef8f762590
Work towards an xcoll workalike, also likely a xcsv workalike
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 05:12:06 +00:00
jbjohnso
95c6a3d93d
Add familiar aliases for PS usage
...
Add more commands
Support pipelined strings and xCATNodeData for indicating noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-17 02:11:58 +00:00
jbjohnso
c519c111ec
Add some inital table formatting for typical output
...
Fix problem where Powershell replaces commas with spaces (hopefully fixed)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 23:27:53 +00:00
jbjohnso
717cd66082
Spice things up a little by putting in a vitals and a power test case, testing out the command send command
...
TODO: repackage the xml object into intended powershell objects
Output types:
-xCATData
-xCATNodeData
-xCATNoderangeData
xCAT Data has error and data not contained within a node
xCATNodeData has error and data contained within a node
xCATNoderangeData will be an aggregation of the above (to be treated differently ps1xml wise hopefully)
The original noderange will be chucked into any of these, for Merge-xCATNodeData to have as a hint maybe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:35 +00:00
jbjohnso
4a572f5015
Actually have the powershell module successfully be able to run commands
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:29 +00:00
jbjohnso
0344b08ba1
Actually have a test case that will get to the permission denied phase
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:22 +00:00
jbjohnso
c602006c04
Milestone for powershell client code, can now add the CA and successfully verify server:
...
PS R:\pst> import-module .\xCAT.psd1
PS R:\pst> Import-xCATCA .\ca-cert.pem
PS R:\pst> Connect-xCAT odin 3001
PS R:\pst>
(commit best reviewed while listening to O Fortuna)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 21:12:53 +00:00
jbjohnso
1dc28f2540
A little more PowerShell experimentation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:17 +00:00
jbjohnso
002d093a37
Add a manifest for the powershell xCAT client
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:45:29 +00:00
jbjohnso
b787fc643b
Rename xCAT powershell module
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:25:31 +00:00
jbjohnso
0073bfd6b3
Modify xCAT Powershell libs to load without warning/error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:25:23 +00:00
jbjohnso
b79f6bb7ee
Check in more comments and code into the still yet non-functional powershell module
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 22:05:53 +00:00
jbjohnso
73eae21f3c
First pass at some xCAT powershell functions to build updatemynodestat/reportip/updateflag out of in name of removing compiled code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-25 22:05:33 +00:00
jbjohnso
e665d1dad8
Fix windows.pm to be drive letter agnostic in installs
...
Fix fixupunattend.vbs to not echo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 20:11:15 +00:00
jbjohnso
c2238857f4
Make the Windows templates consistently leverage the AD/Local/DisableAdmin behavior
...
Eliminate the 'UEFI' only templates, have a single template get modified at runtime via a vbscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 20:54:55 +00:00
jbjohnso
602854999a
Add a script to sub in different mount letters and UEFI/plain partition plans into a unified windows template scheme
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 19:25:01 +00:00
jbjohnso
698e5b21c5
Fix issues with startnet.cmd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 19:56:37 +00:00
jbjohnso
6849011953
Fixes for genimage.cmd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 15:25:01 +00:00
jbjohnso
b042a85a69
Hooks for startnet.cmd to recognize and accept optical drive provided script update as appropriate
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 14:58:30 +00:00
jbjohnso
d8797beab0
Modify genimage.cmd to be more trivially configurable at top of script
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 20:00:09 +00:00
jbjohnso
bc9f4c9897
Add Windows 8 Enterprise templates
...
genimage.cmd failed to correctly place the custom scripts, put extra cd to assure path is as expected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 14:40:17 +00:00
jbjohnso
7999324921
Add a genimae variant for ADK
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 19:39:44 +00:00
jbjohnso
2d42ffe517
wmic csproduct is actually supposed to return the correct ordering, just
...
some vendors disagreed with MS on encoding. SMBIOS 2.6 mandates the MS way
In startnet.cmd, assume wmic is accurate instead of 'fixing it'. This means
DUID changes, but I don't think anyone cares and this paves the way for a
reasonable DUID future.
For autoinst cmd script, it is a problem. Have windows.pm provide two UUID
based links, one with the correct presentation and a byte-swapped variant
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 18:33:28 +00:00
jbjohnso
bdfcdf364d
Rework Windows PE startnet to give a debug cmd earlier and pause if cmd script
...
is missing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 02:23:11 +00:00
jbjohnso
4c1d771f4c
Fix problem with DISM driver injection into WinPE
...
Rework startnet to do nextserver from DHCP, have a better wait and retry mechanism
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 17:19:14 +00:00
jbjohnso
c268671a9e
Add a Windows utility to extract next-server from IPv4 PXE reply
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 20:28:07 +00:00
jbjohnso
816f80af00
A windows utility to detect when booted from EFI
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-21 19:34:11 +00:00
jbjohnso
7c92ec0bd1
-Have BCD/B32 BCD naming convention in place
...
-Rectify fixup of DUID-UUID concept
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 20:50:07 +00:00
jbjohnso
f7f908cb8f
-Prototype change to WinPE script
...
-Extract UUID, fix endianness, store in %guid%
-Change registry to toy with DUID-UUID as defined in draft (number 4 selected for fun of it
-Check for cmd by GUID
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-21 20:43:37 +00:00
jbjohnso
d67118ea77
-Add additional scripting hosts, only 1MB more above base WMI
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 21:05:48 +00:00
jbjohnso
8673b5a04e
-Add WMI to Windows PE winshell env for more capability
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 20:46:06 +00:00
jbjohnso
419d7a9be6
-Use dism to mount, unmount, and apply drivers (Windows 7 AIK)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-22 02:17:25 +00:00
vallard
5945f049cf
copied imagex command into winpe so that imaging works.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-29 16:12:00 +00:00
jbjohnso
b3ec5243e0
-Fix path in windows genimage cmd script
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-30 18:18:41 +00:00
jbjohnso
fe130f94af
-Longer grace period for WindowsPE startup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-30 17:29:05 +00:00
jbjohnso
3c8cd46525
-Have nodeset install prepare to deplay a captured image with imagex
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-21 17:08:49 +00:00
jbjohnso
9d4b741a04
-Change Windows PE script to allow disconnect of 'I:' drive
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 18:52:06 +00:00
jbjohnso
b9fb5e8233
-Fix windows reboot on install completion
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-20 22:06:30 +00:00
jbjohnso
6d7d5bce41
-Have windows reboot when the install is done
...
-Update status on server when install action completes
-Set up EMS according to nodehm settings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-20 21:28:57 +00:00
jbjohnso
780e77f308
-Change passwd table to allow username to be part of the key
...
-Continue advancment of Windows support (per-node BCD files, 32 and 64 bit winnb coexistance)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-20 15:28:41 +00:00
jbjohnso
db996b5130
-mknb functionality analog for Windows
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-19 18:27:05 +00:00