mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
fix issue1873 Failed to find the directory: /.statelite/persistent after statelite installation
This commit is contained in:
parent
223b3305ef
commit
b769d36e06
@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
#script to update nodelist.nodestatus during provision
|
||||
|
||||
XCAT="$(getarg XCAT=)"
|
||||
STATEMNT="$(getarg STATEMNT=)"
|
||||
MASTER=`echo $XCAT |awk -F: '{print $1}'`
|
||||
|
||||
getarg nonodestatus
|
||||
|
@ -3,6 +3,8 @@ NEWROOT=/sysroot
|
||||
SERVER=${SERVER%%/*}
|
||||
SERVER=${SERVER%:}
|
||||
RWDIR=.statelite
|
||||
XCAT="$(getarg XCAT=)"
|
||||
STATEMNT="$(getarg STATEMNT=)"
|
||||
if [ ! -z $STATEMNT ]; then #btw, uri style might have left future options other than nfs open, will u se // to detect uri in the future I guess
|
||||
SNAPSHOTSERVER=${STATEMNT%:*}
|
||||
SNAPSHOTROOT=${STATEMNT#*/}
|
||||
|
Loading…
x
Reference in New Issue
Block a user