Skip to content

Commit

Permalink
[WIP] Create OVS user/group to match what is used in RHCOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mccv1r0 committed Jun 16, 2020
1 parent 1997ea6 commit 4fcef8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ USER root

ENV PYTHONDONTWRITEBYTECODE yes

# create openshift user so uid/gid matches what is used in rhcos
RUN groupadd -g 801 -r openvswitch && useradd -u 800 -r -g openvswitch openvswitch

# install needed rpms - openvswitch must be 2.10.4 or higher
# install selinux-policy first to avoid a race
RUN yum install -y \
Expand Down

0 comments on commit 4fcef8c

Please sign in to comment.