This commit is contained in:
Fabio Rehm 2013-06-08 01:00:39 -03:00
parent 93003caec3
commit e4e64d69eb

View file

@ -40,6 +40,8 @@ module Vagrant
def template_opts def template_opts
@template_opts ||= @box.metadata.fetch('template-opts', {}).dup.merge!( @template_opts ||= @box.metadata.fetch('template-opts', {}).dup.merge!(
'--tarball' => rootfs_tarball, '--tarball' => rootfs_tarball,
# TODO: Deprecate this, the rootfs should be ready for vagrant-lxc
# SSH access at this point
'--auth-key' => Vagrant.source_root.join('keys', 'vagrant.pub').expand_path.to_s '--auth-key' => Vagrant.source_root.join('keys', 'vagrant.pub').expand_path.to_s
) )
end end