Commit Graph

51 Commits

Author SHA1 Message Date
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 #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
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
jbjohnso
de597af826 Further move some modules to lower memory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-14 16:14:29 +00:00
jbjohnso
ad00bf6b77 -Use symlinks instead of hardlinks for BCD links
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-27 13:50:39 +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
4b0e3db9ea -Add 'nodeset winshell' to be like nodeset shell, but start an inferior OS
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-20 22:26:48 +00:00
jbjohnso
98ccc3898a -Fix incorrect quote syntax in windows plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 18:47:20 +00:00
jbjohnso
31fe506e91 -Add Windows image capture support (deployment to follow)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-17 18:40:23 +00:00
linggao
9502050fec changes for first using /install/custom/.. directories for seaching the package list and template files for mkinstall and packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 22:40:15 +00:00
jbjohnso
d1bd976a67 -Fix problem where copycds interrupted would not unmount images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-11 18:36:10 +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
80788d6418 -Further work to get windows plugin closer to functional
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-19 19:53:17 +00:00