Remove unused method from package
This commit is contained in:
parent
1eb407a021
commit
39bf56f786
|
@ -56,17 +56,6 @@ module Vagrant
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# This method creates the auto-generated Vagrantfile at the root of the
|
|
||||||
# box. This Vagrantfile contains the MAC address so that the user doesn't
|
|
||||||
# have to worry about it.
|
|
||||||
def create_vagrantfile
|
|
||||||
File.open(File.join(@env["package.directory"], "Vagrantfile"), "w") do |f|
|
|
||||||
f.write(TemplateRenderer.render("package_Vagrantfile", {
|
|
||||||
:base_mac => @env["vm"].vm.network_adapters.first.mac_address
|
|
||||||
}))
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Compress the exported file into a package
|
# Compress the exported file into a package
|
||||||
def compress
|
def compress
|
||||||
@env.logger.info "Packaging VM into #{tar_path}..."
|
@env.logger.info "Packaging VM into #{tar_path}..."
|
||||||
|
|
Loading…
Reference in New Issue