mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
delete synced file check points
This commit is contained in:
parent
51f69458fa
commit
1d3a163324
@ -93,12 +93,6 @@ check:rc==0
|
||||
check:output=~/nodedata/$$CN on /.statelite/persistent
|
||||
check:output=~compute/rootimg on / type nfs
|
||||
|
||||
#cmd:scp $$CN:/etc/resolv.conf /tmp/resolv.conf
|
||||
#check:rc==0
|
||||
#cmd:diff /etc/resolv.conf /tmp/resolv.conf
|
||||
#check:rc==0
|
||||
#cmd:rm -f /tmp/resolv.conf
|
||||
|
||||
cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir ]; then rm -rf $rootimgdir;fi
|
||||
check:rc==0
|
||||
cmd:rmdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
||||
|
@ -95,12 +95,6 @@ check:rc==0
|
||||
check:output=~/nodedata/$$CN on /.statelite/persistent
|
||||
check:output=~rootfs on / type
|
||||
|
||||
#cmd:scp $$CN:/etc/resolv.conf /tmp/resolv.conf
|
||||
#check:rc==0
|
||||
#cmd:diff /etc/resolv.conf /tmp/resolv.conf
|
||||
#check:rc==0
|
||||
#cmd:rm -f /tmp/resolv.conf
|
||||
|
||||
cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir.regbak ]; then rm -rf $rootimgdir; mv $rootimgdir.regbak $rootimgdir; fi
|
||||
check:rc==0
|
||||
cmd:rmdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
||||
|
Loading…
x
Reference in New Issue
Block a user