Skip to content

Fix install pubkey into libvirt host#230

Merged
olivergs merged 3 commits intofleet-commander:masterfrom
stanislavlevin:fix_install_pubkey
Sep 16, 2019
Merged

Fix install pubkey into libvirt host#230
olivergs merged 3 commits intofleet-commander:masterfrom
stanislavlevin:fix_install_pubkey

Conversation

@stanislavlevin
Copy link
Contributor

  • catch root command prompt
  • set $TERM env variable
  • check if libvirt host already has our pubkey

This allows to log in as root and to save public key into
authorized_keys.

Fixes: fleet-commander#228
Fixes: fleet-commander#229
Signed-off-by: Stanislav Levin <slev@altlinux.org>
The "TERM" variable may be not set. This leads to an additional user
prompt from tset.

Fixes: fleet-commander#228
Fixes: fleet-commander#229
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Fixes: fleet-commander#228
Fixes: fleet-commander#229
Signed-off-by: Stanislav Levin <slev@altlinux.org>
@olivergs
Copy link
Contributor

Have to check it but seems good to me. Queued for next release. Thanks!

@olivergs olivergs merged commit 42f269e into fleet-commander:master Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments