vagrantomatic 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/vagrantomatic/instance.rb +3 -3
- data/lib/vagrantomatic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e89b9a3a224b17e46663667c0a67076bae7dbab
|
|
4
|
+
data.tar.gz: c43f84e132c53f1ac64791fba8ebde864ae04859
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15cb5f2e0ceeca600d84806e88f220f3e78fd0fc4a045d51ec986dcf05ecbfd65e47af05ef8ffb98494a9275f40ff0ef2632fb66615f5e20232a587aa91cd717
|
|
7
|
+
data.tar.gz: 83177220bf954607df194645f0cfe2aa36c8f2d370ab1592931f471679c2667debf5a62db261193cfd7e1c4bde0d54bd8132a86653d331d621abb9445e9496f9
|
|
@@ -201,8 +201,8 @@ module Vagrantomatic
|
|
|
201
201
|
vm
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
-
def execute_and_log(op)
|
|
205
|
-
get_vm.execute(op) { |stdout, stderr|
|
|
204
|
+
def execute_and_log(op, *args)
|
|
205
|
+
get_vm.execute(op, args) { |stdout, stderr|
|
|
206
206
|
# only one of these will ever be set at a time, other one is nil
|
|
207
207
|
@logger.debug "#{stdout}#{stderr}".strip
|
|
208
208
|
}.success?
|
|
@@ -227,7 +227,7 @@ module Vagrantomatic
|
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
def purge
|
|
230
|
-
execute_and_log(:destroy)
|
|
230
|
+
execute_and_log(:destroy, '-f')
|
|
231
231
|
if Dir.exists? vm_instance_dir
|
|
232
232
|
FileUtils::rm_rf(vm_instance_dir)
|
|
233
233
|
end
|