[libvirt] [jenkins-ci PATCH] guests: use su instead of sudo in rc.local to start Jenkins agent

Andrea Bolognani abologna at redhat.com
Fri Oct 20 19:55:32 UTC 2017


On Fri, 2017-10-20 at 21:36 +0200, Pavel Hrdina wrote:
> On FreeBSD the sudo command cleans the new environment too much
> and Jenkins is not able to run properly.
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  guests/group_vars/all/main.yml               | 2 +-
>  guests/host_vars/libvirt-freebsd-10/main.yml | 2 +-
>  guests/host_vars/libvirt-freebsd-11/main.yml | 2 +-
>  guests/tasks/jenkins.yml                     | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)

It still really puzzles me that sudo doesn't work properly in this
context... In any case

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list