stages/kickstart: quote ssh-key
Surround the ssh key by quotes since it might contain spaces.
This commit is contained in:
parent
b430bd8682
commit
3c565347a3
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ def make_users(users: Dict) -> List[str]:
|
|||
|
||||
key = opts.get("key")
|
||||
if key:
|
||||
res.append(f"sshkey --username {name} {key}")
|
||||
res.append(f'sshkey --username {name} "{key}"')
|
||||
|
||||
return res
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue