lib/kontena/machine/vagrant/master_provisioner.rb in kontena-plugin-vagrant-0.2.6 vs lib/kontena/machine/vagrant/master_provisioner.rb in kontena-plugin-vagrant-0.2.7
- old
+ new
@@ -18,10 +18,10 @@
def initialize
@client = Excon.new(API_URL)
end
def run!(opts)
- name = generate_name
+ name = opts[:name] || generate_name
version = opts[:version]
memory = opts[:memory] || 1024
vault_secret = opts[:vault_secret]
vault_iv = opts[:vault_iv]
initial_admin_code = opts[:initial_admin_code]