2
0
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:
caomengmeng 2016-07-19 02:16:13 -04:00
parent 51f69458fa
commit 1d3a163324
2 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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