Project

General

Profile

Actions

Bug #19291

open

remote_execution_ssh_keys snippet does not create user

Added by Daniel Kimsey about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Foreman
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The provisioning snippet attempts to assign the authorized_keys to a user but fails because the user does not yet exist. This occurs when the default user, root is not used.

chown: invalid spec: 'remote-exec:'
/sbin/restorecon
restorecon reset /~remote-exec/.ssh context system_u:object_r:root_t:s0->system_u:object_r:default_t:s0
restorecon reset /~remote-exec/.ssh/authorized_keys context system_u:object_r:etc_runtime_t:s0->system_u:object_r:default_t:s0

No data to display

Actions

Also available in: Atom PDF