2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 00:00:12 +00:00

Merge pull request #1555 from caomengmeng/delete_statelite_sync_file_checkpoint

Delete synced file check points
This commit is contained in:
caomengmeng
2016-07-19 14:17:27 +08:00
committed by GitHub
2 changed files with 0 additions and 10 deletions

View File

@ -92,11 +92,6 @@ cmd:xdsh $$CN mount
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

View File

@ -94,11 +94,6 @@ cmd:xdsh $$CN mount
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