Commit Graph

66 Commits

Author SHA1 Message Date
Jarrod Johnson
1f48dcea9c Recognize Win2012R2 media 2014-05-07 14:17:00 -04:00
Jarrod Johnson
d5cb13be6d Fix windows install problem where tmplfile was masked out in scope 2014-04-04 23:27:36 -04:00
daniceexi
b58e374758 fix the issue that proxydhcp configuration file cannot be updated 2014-01-10 09:16:42 -05:00
daniceexi
05946f11db Enhance genimage.cmd to accept second and third params for multiple winpe support 2013-12-31 08:04:25 -05:00
daniceexi
9b5ad5113e 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:24:11 -05:00
daniceexi
663a0b7da8 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:35:37 -05:00
daniceexi
6dd972fd50 code drop for feature to support multiple disks/paritions and multiple nics configuration for Windows deployment. 2013-12-03 02:36:48 -05:00
lissav
86e108ead9 remove comment out call to writescript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:17:14 +00:00
jbjohnso
2bbce57260 Simple implementation of postscripts, put in postscripts table and /install/winpostscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-10 14:52:44 +00:00
jbjohnso
c0e81dc8ad Use a different error code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:57:18 +00:00
jbjohnso
bd67c19612 Have copycds error set exit code on client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:57:08 +00:00
jbjohnso
8360cddd12 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/trunk@15792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:19:30 +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
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
f6c999796f Fix various 'strict' issues in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 21:32:19 +00:00
jbjohnso
3f6d09e554 Fix mistake in variable name in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 21:32:12 +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
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 #3040277, 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