vagrant-zfs-box 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -38,10 +38,8 @@ module VagrantZFS
|
|
38
38
|
VagrantZFS::ZFS.clone! "#{fs}@#{instance_name}", clonename
|
39
39
|
VagrantZFS::ZFS.set_mountpoint clonename, mountpoint
|
40
40
|
|
41
|
-
hdd = instance_root + "/" + instance_name + "/box-disk1.vmdk"
|
42
|
-
|
43
41
|
env[:vm].uuid = VagrantZFS::VBoxManage.createvm instance_name, instance_root
|
44
|
-
|
42
|
+
hdd = instance_root + "/" + instance_name + "/box-disk1.vmdk"
|
45
43
|
VagrantZFS::VBoxManage.setup env[:vm].uuid, hdd
|
46
44
|
|
47
45
|
# # If we got interrupted, then the import could have been
|
@@ -87,11 +87,11 @@ module VagrantZFS
|
|
87
87
|
|
88
88
|
# Did self.sethduuid work?
|
89
89
|
unless uuid_pre != uuid_post
|
90
|
-
puts "VBoxManage internalcommands sethduuid did not work. Trying
|
90
|
+
puts "VBoxManage internalcommands sethduuid did not work. Trying other method with dd"
|
91
91
|
self.sethduuid_shell hddfile
|
92
92
|
uuid_post = self.gethduuid(hddfile)
|
93
93
|
unless uuid_pre != uuid_post
|
94
|
-
puts "Did not succeed to sethduuid."
|
94
|
+
puts "Error: Did not succeed to sethduuid."
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-zfs-box
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2013-03-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
14
14
|
description: ZFS plugin that uses snapshots and clones to speed up box creation for
|
15
15
|
Vagrant 1.0
|
16
|
-
email: larstobi@
|
16
|
+
email: larstobi@conduct.no
|
17
17
|
executables: []
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|