Fix seed_master key file name

As per https://github.com/saltstack/salty-vagrant/pull/98 and https://github.com/saltstack/salty-vagrant/issues/97 the expected file name for minion is 'minion', not 'seed-minion.pub'
This commit is contained in:
viq 2013-10-10 13:04:31 +02:00
parent c83ea416ff
commit fee0f8d8ab
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ module VagrantPlugins
@machine.communicate.sudo("mkdir -p -m777 #{seed_dir}")
@config.seed_master.each do |name, keyfile|
sourcepath = expanded_path(keyfile).to_s
dest = "#{seed_dir}/seed-#{name}.pub"
dest = "#{seed_dir}/#{name}"
@machine.communicate.upload(sourcepath, dest)
end
options = "#{options} -k #{seed_dir}"