allow custom ssh key type
Change-Id: Ia45e3bcbc88fdc508012cd56ccd489c39a15661d
This commit is contained in:
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@@ -77,6 +77,7 @@ def configure_vm(name, vm, conf)
|
||||
"host_ip_iface" => conf["host_ip_iface"] || "enp0s8",
|
||||
"vagrant_username" => conf["vagrant_username"] || "ubuntu",
|
||||
"ip_version" => conf["ip_version"] || "4",
|
||||
"stack_sshkey_type" => conf["stack_sshkey_type"] || "rsa",
|
||||
}
|
||||
# add all the rest of the content in the conf file
|
||||
conf.each do |k, v|
|
||||
|
@@ -7,7 +7,7 @@ class user::stack(
|
||||
{
|
||||
|
||||
notify { 'after':
|
||||
message => "User params: u => $username, p => $stack_password, k => $stack_sshkey"
|
||||
message => "User params: u => $username, p => $stack_password, k => $stack_sshkey, t => $stack_sshkey_type"
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ class user::stack(
|
||||
user => $username,
|
||||
pass => $stack_password,
|
||||
key => $stack_sshkey,
|
||||
key_type => $stack_sshkey_type,
|
||||
is_admin => true,
|
||||
} ->
|
||||
|
||||
|
Reference in New Issue
Block a user