jjhua
18c8045c66
fixed bug 3706, enabled=0 in the Centos-Base.repo
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-23 05:27:34 +00:00
wanghuaz
f4e93057b1
fixing bug 3653 on sles and ubuntu.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 03:07:26 +00:00
daniceexi
6ab9ab0e29
dir for mic
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:29:29 +00:00
wanghuaz
68e4dd3d70
Fixing bug 3653: with more than 9 new_install_list sessions in otherpkgs.pkglist, perl 'sort' take the integers as string, and so does not sort the order correctly
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-28 06:27:23 +00:00
jbjohnso
130d2b2494
Add event log cmdlets to powershell
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 15:05:07 +00:00
jbjohnso
e815ba5ac9
Add some more commands, have powershell recognize the multiple natures of data elements in api
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 14:37:07 +00:00
jbjohnso
398b975563
Fixes and trimming of exported internal function
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 13:50:25 +00:00
jbjohnso
083623ab1b
Commit powershell files to windows style line wrap in case of notepad
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 12:56:46 +00:00
jbjohnso
2071c5945c
Try to make powershell module more tolerant of pathing situations
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 21:21:43 +00:00
jbjohnso
38b3d1c46a
Fix error in vbscript
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 14:56:01 +00:00
jbjohnso
784b582b1f
Have fixupunattend check the process, user, and system environment space for value before giving up (MS env handling is madness)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 13:38:45 +00:00
jbjohnso
b21c3d7a61
Provide hook for OS volume selection
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 21:03:24 +00:00
daniceexi
7b70df4161
run localdisk in stateless
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 08:04:47 +00:00
daniceexi
337c515d02
change the mount point of localdisk
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 08:01:13 +00:00
daniceexi
1ccb22b56a
Make localdisk script do mount for stateless node. Add log to node:/.sllocal/log/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:55:28 +00:00
daniceexi
c2dcbfc537
create localdisk directories during genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:52:30 +00:00
daniceexi
390f7693b9
support localdisk to run on stateless
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:50:49 +00:00
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
daniceexi
feb65fcb64
defect 3520: fixed a typo that using - replace =
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 02:15:52 +00:00
immarvin
1d13b5c300
1. fill in the proper value in /etc/sysconfig/clock and set the timezone of the stateless/statelite node with site:timezone
...
2. copy libnss_files.so.2 from directory lib(for 32bit system) or lib64(for 64 bit system) into initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 08:33:48 +00:00
xq2005
370376f043
start ttyS0 for stateless boot on debian/ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-19 12:23:49 +00:00
immarvin
21df7c201c
replace nfs-utils with nfs-kernel-server in sles11 pkglist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 06:45:27 +00:00
ligc
6985f95b28
fix for bug 3353: remove lsvpd and busybox-anaconda
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 06:31:17 +00:00
immarvin
0a226feef7
add /lib64/libnss_files.so.2 into initrd, this is needed by mount.nfs in sles11.2
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 08:19:38 +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
wanghuaz
a1fdfce779
Fixing a problem that sles enables all the repos for new #NEW_INSTALL_LIST set, it prevents putting multiple versions of a packages with different repos into otherpkgs dir
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 12:09:26 +00:00
wanghuaz
9e26b11fe2
Fixing two problems: 1. previously all the repos are enabled for all the yum commands. now we only enable the required repos for each yum command. 2. run yum clean in the diskless image to cleanup the repo meta data. this is required if there are multiple versions for one package name to be installed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:44:19 +00:00
xq2005
a2c0e85f08
statelss image support internet repo on debian/ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 14:39:27 +00:00
xq2005
43c44ee347
load firmware in debian/ubuntu stateless initrd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 03:04:41 +00:00
immarvin
5cabc2b9ef
replace kernel with kernel-default in sles11 pkglist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 09:33:51 +00:00
immarvin
1d11ddb65f
nfs-client not exist in sles11 iso, remove it from pkglist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15700 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:46:15 +00:00
immarvin
749cf2f240
add ntp into the sles pkglist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 06:33:14 +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
xq2005
f19761ef71
genimage on ubuntu12.04.2 meet package installation error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-22 07:16:18 +00:00
xq2005
a2a91cdd21
delete the uesless genimage.old
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 08:25:02 +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
wanghuaz
774c178272
Don't mount /proc fs since it will confuse the rpm or scripts that they are on diskless nodes.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 09:54:45 +00:00