vagabund 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagabund/boxer/command.rb +7 -2
- data/lib/vagabund/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: 14759fb852b929c914bb54aeb151448cca174a8b
|
4
|
+
data.tar.gz: 0f69d2d25a5fb6923c2f6e7c357315ab45d311f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ad84215bec39a99e79a72f105b8878024b2bcf55f06bf0e2197a7483d51c38deaa4fd7bc55d4aed4462342e4f851096933b770ac9e6b0e6ea376632417e3bcb
|
7
|
+
data.tar.gz: 1bdae238da0a0f159f2abf4c586c9c5f31eab46fe350a3d56d8836641881de6fb5ee6b8c6a9a5b9d774346c44cd6555a8cad52572c9a67b04d4848fb0bb09835
|
@@ -81,8 +81,13 @@ module Vagabund
|
|
81
81
|
exit
|
82
82
|
end
|
83
83
|
|
84
|
-
@env.ui.info "==> #{vm_name}: Packaging VirtualBox VM '#{vm_name}' into #{File.basename(box_file)}", bold: true
|
85
|
-
|
84
|
+
@env.ui.info "==> #{vm_name || machine.name}: Packaging VirtualBox VM '#{vm_name || machine.name}' into #{File.basename(box_file)}", bold: true
|
85
|
+
|
86
|
+
if vm_name.nil?
|
87
|
+
system "vagrant package #{machine.name} --output #{box_file}"
|
88
|
+
else
|
89
|
+
system "vagrant package --base #{vm_name} --output #{box_file}"
|
90
|
+
end
|
86
91
|
end
|
87
92
|
|
88
93
|
def package_aws(machine, box_name, box_file=nil)
|
data/lib/vagabund/version.rb
CHANGED