Skip to content

Commit

Permalink
Exporting works again.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Dec 25, 2010
1 parent 5c4391a commit 8abc4b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/virtualbox/appliance.rb
Expand Up @@ -48,15 +48,15 @@ def import(&block)
# every percent that the operation progresses. This can be done to check the progress
# of the export in real-time.
def export(&block)
interface.write("ovf-1.0", path).wait(&block)
interface.write("ovf-1.0", true, path).wait(&block)
end

# Adds a VM to the appliance
def add_machine(vm, options = {})
sys_desc = vm.interface.export(interface)
sys_desc = vm.interface.export(interface, path)
options.each do |key, value|
sys_desc.add_description(key, value, value)
end
end
end
end
end

0 comments on commit 8abc4b3

Please sign in to comment.