Commit Graph

494 Commits

Author SHA1 Message Date
immarvin
9ecfc50b91 busybox awk does not support network socket writing, use nc instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 07:55:54 +00:00
immarvin
78af39e06f close file handle after writing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 07:32:34 +00:00
immarvin
645c602ce2 update the nodelist.status to installing/netbooting via feedback from node during provision
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 07:28:32 +00:00
immarvin
a6aab0c6d0 update the nodelist.status to installing/netbooting via feedback from node during provision
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 06:55:03 +00:00
immarvin
a55349b5af update the nodelist.status to installing/netbooting via feedback from node during provision
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-17 15:13:41 +00:00
jbjohnso
dd66c4427a Add event log cmdlets to powershell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 18:15:55 +00:00
jbjohnso
2cb38161a8 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/branches/2.8@16399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 18:15:50 +00:00
jbjohnso
2660c46a24 Fixes and trimming of exported internal function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 18:15:45 +00:00
jbjohnso
aa5e95f28a 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/branches/2.8@16377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 13:00:43 +00:00
jbjohnso
df158b4411 Try to make powershell module more tolerant of pathing situations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 13:00:38 +00:00
jbjohnso
3456243248 Fix error in vbscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 14:56:32 +00:00
jbjohnso
cd354d6634 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/branches/2.8@16354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 14:28:48 +00:00
jbjohnso
5562af5751 Provide hook for OS volume selection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 14:28:40 +00:00
daniceexi
d7c626da34 run localdisk in stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 11:10:39 +00:00
daniceexi
f212c3c7b3 change the mount point of localdisk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 11:03:24 +00:00
daniceexi
75980fabbf 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/branches/2.8@16263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 11:01:31 +00:00
daniceexi
5eb7f30342 create localdisk directories during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 09:24:47 +00:00
daniceexi
082db86c77 support localdisk to run on stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 09:22:56 +00:00
phamt
a25f969d2d Simplified selection of user types when creating an xCAT user from the UI.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 15:37:23 +00:00
jbjohnso
f79c178354 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/branches/2.8@16083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 20:15:15 +00:00
jbjohnso
49e21e3a8d Make local system work and also clean out messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 19:54:58 +00:00
jbjohnso
4ffb6b22a8 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/branches/2.8@16079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 19:54:47 +00:00
daniceexi
a7a5e0aa70 defect 3520: fixed a typo that using - replace =
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 02:10:57 +00:00
immarvin
3c0983f60f 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/branches/2.8@16053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 07:57:24 +00:00
xq2005
08bd9b2907 start ttyS0 in stateless boot on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-19 12:24:25 +00:00
immarvin
2226a4e58d replace nfs-utils with nfs-kernel-server in sles11 pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 06:46:00 +00:00
ligc
ceb308e21d fix for bug 3353: remove lsvpd and busybox-anaconda
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 06:31:01 +00:00
immarvin
60f393ea20 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/branches/2.8@15873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 08:23:14 +00:00
jbjohnso
250336787e 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/branches/2.8@15815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:19:18 +00:00
wanghuaz
8428a71e7b 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. Now we only enable the necessary repos for each zypper command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 12:11:05 +00:00
wanghuaz
0bc40f667a 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/branches/2.8@15749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:45:18 +00:00
xq2005
aa807e7dca statelss image support internet repo on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 14:41:00 +00:00
xq2005
e977c2b2d8 load firmware in debian/ubuntu stateless initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 03:05:24 +00:00
immarvin
337ca536f0 nfs-utils package not exist in sles11 iso, use nfs-client instead or remove it from pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:34:58 +00:00
immarvin
28e50efbef add ntp to the sles pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 06:10:04 +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
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