Commit Graph

62 Commits

Author SHA1 Message Date
daniceexi
1039ba5490 Enhance genimage.cmd to accept second and third params for multiple winpe support 2013-12-31 08:02:54 -05:00
daniceexi
32f8a37a22 code drop for windows postscript/postbootscript support. The postscript/postbootscript should be set in node/osimage.postscript/postbootscript and copy to /install/winpostscripts before running nodeset 2013-12-16 02:22:02 -05:00
daniceexi
01d1bee405 Mutiple winpes support. nodeset (Windows.pm) will generate configuration file (path of winpe) in /var/lib/xcat/proxydhcp.cfg and send signal to proxydhcp daemon, proxydhcp daemon loads configuration file and offers 4011 service to windows compute nodes. 2013-12-10 05:34:09 -05:00
daniceexi
5bc7502d61 code drop for feature to support multiple disks/paritions and multiple nics configuration for Windows deployment. 2013-12-03 02:26:31 -05:00
lissav
e514305d5e remove comment out call to writescript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:19:26 +00:00
jbjohnso
d652fa96fb Use a different error code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:56:11 +00:00
jbjohnso
a2205b8fab Have copycds error set exit code on client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:55:13 +00:00
jbjohnso
feadffbc7b Provide a mechanism for bundled xCAT instances to forbid image import without existing templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:20:09 +00:00
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
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
232f325351 Fix mistake in variable name in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 21:21:26 +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
fa2eeecb0d Fix various 'strict' issues in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 21:31:58 +00:00
jbjohnso
f281378f89 Fix problem where windows plugin did not honor tftpdir in site
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:41:50 +00:00
jbjohnso
885277c218 Fix characterization of hyper-v
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 19:11:46 +00:00
jbjohnso
a20a8e2760 Various changes regarding Hyper-V 2012
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 21:03:47 +00:00
jbjohnso
d4acaaa8eb Distinguish between hyper v and normal edition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 17:52:27 +00:00
jbjohnso
ae93fe56ce Distingush between 2012 and 8 versions of windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 17:38:07 +00:00
jbjohnso
3174f6a8eb Add recognition of windows 8 media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 16:56:37 +00:00
immarvin
6842acc9a8 add -o|--noosimage option to avoid creating osimages after copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 07:02:56 +00:00
immarvin
09eff12ed4 copycds enhancement for windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 03:20:33 +00:00
immarvin
648140c6ad set the MD5 Digest value of iso's fullpath as the default mount point of the iso,correct the code to umount $path in SIG{INT}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 08:34:33 +00:00
immarvin
9260b97282 set the MD5 Digest value of iso's fullpath as the default mount point of the iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 11:22:53 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
immarvin
9d389484a5 According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 07:06:17 +00:00
jjhua
427dab0ad2 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:29:34 +00:00
jbjohnso
3737c6632b Correct mistake in UUID based cmd script generator where a hyphen was omitted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 18:33:40 +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
a312ff54c1 Fix legacy boot breakage by windows uefi support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-30 18:07:03 +00:00
jbjohnso
9e8e8616d5 Fix windows script for uefi detection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-22 21:06:32 +00:00
jbjohnso
f9f5cce21a Fix problem in previous checkin trying to write to a filehandle before actually opening it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-22 18:02:54 +00:00
jbjohnso
527e1f467a Rework windows support of UEFI to do auto-sense of uefi boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-21 20:20:22 +00:00
jbjohnso
245a05e7cc -Correct misleading error message in defect 3082343
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-11 13:18:50 +00:00
xq2005
c227fc75ec /install is hard coded
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-28 02:34:58 +00:00
linggao
e0902c9f69 bug fix for , moved the substitution of some INCLUDESs to Template.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 14:22:28 +00:00
jbjohnso
cec64bc47f -Copy previous fix to another section
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-23 19:16:19 +00:00
jbjohnso
fb9912d38c -Get rid of prompt in post-install actions in windows deployments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-23 18:58:09 +00:00
jbjohnso
4045086777 -Have DUID from installer propogate to installed image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-23 17:48:32 +00:00
jbjohnso
466285fbb9 -Make UUID based links for new script search feature to work sans resolvable IP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-23 15:23:06 +00:00
jbjohnso
99e84ca4d8 -Create autoinst directory if required
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-07 14:43:18 +00:00
jbjohnso
8bef62719b -Skip link creation if Windows system won't resolve (TODO, have winpe able to figure out nodename client side to render this moot)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 19:21:52 +00:00
jbjohnso
c4ea16f807 -Change BCD hack to a more tftp agnostic approach that is less dependent on knowledge of IP address ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-21 18:34:17 +00:00
vallard
4b8d927b9b fixed bug where imagex would not create links in /install/autoinst directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 15:59:20 +00:00
jbjohnso
6185d42e06 -Recognize Wink28r2 media
-Improve esx resiliancy for a hypervisor/vcenter failure


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-14 20:32:51 +00:00
vallard
a3524a7cdb add windows 7 support for copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-09 20:35:43 +00:00
linggao
9524a49273 added support to update the osimage and linuximage tables after copycds and packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-19 17:03:14 +00:00
mxi1
ef87653b36 one common get_tmpl_file_name() function is added into SvrUtils.pm, to replace the same function in anaconada.pm, sles.pm and windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 09:53:14 +00:00
vallard
02b9c8a0c0 changed imagex location to match location where genimage.bat places it: /windows/system32
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-29 16:15:14 +00:00