mxi1
4f80ea942c
"cp -a" can't copy the files with "." as the prefix,
...
and "cp -r -a" can do it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 11:05:38 +00:00
mxi1
461c236542
for defect 2989912,
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 10:10:47 +00:00
mxi1
ec11964907
for defect 3031489,
...
expr is not installed on redhat6 by default, so I removed expr form statelite script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 08:31:42 +00:00
mxi1
8637c96318
update the code to handle the entries with "persistent" option,
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-12 10:03:48 +00:00
mxi1
1e2a27663c
add one new rc.statelite file for rc.statelite.ppc.redhat,
...
on redhat5.x PPC64, we need to use "chroot" to run "openssl" command, or else, it will fail without any output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 08:16:30 +00:00
mxi1
1c59d01b64
changed "#!/bin/sh" to "#!/bin/bash"
...
because redhat5.x use "anaconda.busybox sh" which doesn't support POSIX shell standards very well,
for example, it doesn't support array-type variables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-10 09:45:15 +00:00
bp-sawyers
e7d4696c69
Fixed bug 3011426 (var MYNAME undefined)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-04 20:36:55 +00:00
jbjohnso
5c4fece838
-Try Use shortname explicitly for STATEMNT things
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 17:27:52 +00:00
mxi1
8a532cabce
update rc.statelite to support both one directory and its sub-items in the litefile table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-26 07:56:41 +00:00
vallard
508af695e9
removed noderange to be backwards compatible
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 17:47:07 +00:00
mxi1
bb9f222eaf
use ${3} to instead the $hn variable in the xCATcmd function
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 11:47:03 +00:00
mxi1
eb756f9804
the litefile and litetree commands need the <noderange> argument,
...
xCATcmd() is updated by adding "<noderange></noderange>"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-03 08:36:41 +00:00
mxi1
9658788864
add code to enchance the litimg command, if the entry is changed/removed from the litefile table, or some file are replaced in the root image, the code can both handle them now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-11 07:03:56 +00:00
linggao
666713d204
bug fix for statelite.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 22:29:56 +00:00
mxi1
aeae30cc5b
-two new optins: bind and bind,perssistent is added for the statelite mode support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 14:52:57 +00:00
vallard
fa1f259c9b
fixed bug for mounting directories. Now will mount the full path
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-27 19:05:26 +00:00
vallard
c9ad6e7855
fixed a bug to get rid of trailing / so link would work
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-27 00:10:34 +00:00
mxi1
3f3b504df8
add one checkpoint for this situation when the directory already exists during booting up
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 10:41:32 +00:00
vallard
ee5cb54bcb
removed verbose output
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-23 19:29:10 +00:00
vallard
226c0a64f2
updated to fix mounting directory and paths. In this way if there is an NFS server that has two paths like: mgt:/statelite/new-york and mgt:/statelite/globals to sync from then it will only mount mgt:/statelite and then traverse the directories. This should make boot up faster and look cleaner as there are not as many mount points.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-23 19:28:46 +00:00
vallard
3b5a384b12
file used to initialize statelite images
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 20:34:04 +00:00
vallard
24b5d26cbc
creation scripts for statelite nodes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 00:55:48 +00:00