hypervisor: use chcon not restorecon
... inside virt-sysprep, as there's no loaded policy to use.
This commit is contained in:
parent
64d00c6619
commit
f18d6ad963
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@
|
|||
EIMG_COPR_PLAYBOOK_DIR=/home/copr/provision
|
||||
EIMG_COPR_PLAYBOOK=local-image-update.yml
|
||||
EIMG_FINAL_SYSPREP_ARGS=(--ssh-inject "root:file:$HOME/.ssh/id_rsa.pub"
|
||||
--firstboot-command "restorecon -RvF /root" )
|
||||
--run-command "chcon -v -R -h system_u:object_r:ssh_home_t:s0 /root/.ssh" )
|
||||
|
||||
- name: setup provision directory
|
||||
include_tasks: "{{ roles_path }}/copr/backend/tasks/setup_provisioning_environment.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue