Skip to content

Commit

Permalink
don't remove provisioned state flag file as aggressively (#18 libvirt…
Browse files Browse the repository at this point in the history
… does not always provide status?)
  • Loading branch information
ssenator committed Aug 3, 2020
1 parent 43370fa commit 4c10dc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clusters/common/bin/ingestvagrantstate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ do
;;
"nonexistent"|"not created"|"")
touch ${nonexistent}/${n}
for _f in ${running}/${n} ${poweroff}/${n} ${provisioned}/${n}
for _f in ${running}/${n} ${poweroff}/${n}
do
if [ -f ${_f} ] ; then
${DISABLE_RM} rm -f ${_f}
fi
done
;;
# ### ### "")
# ### ### no_state="${no_state} ${n}"
# ### ### ;;
"")
no_state="${no_state} ${n}"
;;
*)
${DISABLE_RM} rm -f ${provisioned}/${n} ${running}/${n}
;;
Expand Down

0 comments on commit 4c10dc5

Please sign in to comment.