jbjohnso
094aee795f
Fix issues with previous commit
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 19:37:36 +00:00
jbjohnso
1dcd7a42b1
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/branches/2.8@15659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 19:37:29 +00:00
jbjohnso
95d973258c
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/branches/2.8@15652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:58:09 +00:00
jbjohnso
cf0bfb9d11
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/branches/2.8@15651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:58:01 +00:00
jbjohnso
df39576937
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/branches/2.8@15650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:55 +00:00
jbjohnso
e6cee5014a
Work towards an xcoll workalike, also likely a xcsv workalike
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:47 +00:00
jbjohnso
c1ee6f6383
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/branches/2.8@15648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:42 +00:00
jbjohnso
50a575c952
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/branches/2.8@15647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:37 +00:00
jbjohnso
6c97efdae9
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/branches/2.8@15646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:30 +00:00
jbjohnso
d820388726
Actually have the powershell module successfully be able to run commands
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:22 +00:00
jbjohnso
354269134a
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/branches/2.8@15644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:16 +00:00
jbjohnso
6ef1671e23
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/branches/2.8@15643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:10 +00:00
jbjohnso
b28f6f307f
A little more PowerShell experimentation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:57:04 +00:00
jbjohnso
64b30e639c
Add a manifest for the powershell xCAT client
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:56 +00:00
jbjohnso
6055da9ab6
Rename xCAT powershell module
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:49 +00:00
jbjohnso
6e36a72117
Modify xCAT Powershell libs to load without warning/error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:44 +00:00
jbjohnso
4f8cacb6bb
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/branches/2.8@15638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:39 +00:00
jbjohnso
311e4d2e1d
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/branches/2.8@15637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-25 13:56:33 +00:00
jbjohnso
e11b310efd
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/branches/2.8@15124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 21:21:37 +00:00
jbjohnso
b56f7e9e94
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/branches/2.8@15122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 21:21:14 +00:00
jbjohnso
bb90fdf022
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/branches/2.8@15098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 19:25:20 +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