Project

Profile

Help

Task #6973

fix cleanup script

Added by Mark Zaslavskiy over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Timofey Turenko
Category:
mdbci features
Sprint/Milestone:
Start date:
19.04.2016
Due date:
% Done:

100%

Estimated time:
1:00 h
Spent time:
Target branch:
Test scenario:

Description

Need discussion

new messages
[18:53] 
timofey.turenko вот то, что я про lean up скрипт:
[18:53] 
diff --git a/scripts/clean_vms.sh b/scripts/clean_vms.sh
index 0f04180..5e028d5 100755
--- a/scripts/clean_vms.sh

+++ b/scripts/clean_vms.sh
@@ -12,7 +12,7 @@ if [ ! -z $1 ]; then
    done

    echo "Cleaning machines with virsh" 
-    for i in $(virsh list --name | grep ${1}); do
+    for i in $(virsh list --name --all | grep ${1}); do
      virsh shutdown $i
      virsh destroy $i
      virsh undefine $i

History

#1 Updated by Ilfat Kinyaev over 4 years ago

  • Estimated time set to 1:00 h

#2 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from New to Active / In progress

#4 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from Active / In progress to New
  • % Done changed from 0 to 90

#5 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from New to Review
  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny
  • % Done changed from 90 to 100

#6 Updated by Alexander Kaluzhny about 4 years ago

Reviewed

#7 Updated by Alexander Kaluzhny about 4 years ago

  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

#8 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Review to Testing
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#9 Updated by Timofey Turenko about 4 years ago

  • Status changed from Testing to Closed

works, closing

Also available in: Atom PDF