Skip to content

Commit

Permalink
add elemental cli to base image
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshdaivajna committed Dec 20, 2023
1 parent 9875182 commit b85aac8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ base-image:
chmod 444 /etc/machine-id
RUN rm /tmp/* -rf

RUN luet repo add kairos -y --url quay.io/kairos/packages --type docker
RUN luet install -y elemental-cli

# Ensure SElinux gets disabled
RUN if grep "security=selinux" /etc/cos/bootargs.cfg > /dev/null; then sed -i 's/security=selinux //g' /etc/cos/bootargs.cfg; fi &&\
if grep "selinux=1" /etc/cos/bootargs.cfg > /dev/null; then sed -i 's/selinux=1/selinux=0/g' /etc/cos/bootargs.cfg; fi
Expand Down

0 comments on commit b85aac8

Please sign in to comment.