Skip to content

Commit

Permalink
add pkg_commands.d file for centos ostree images
Browse files Browse the repository at this point in the history
  • Loading branch information
BeeGrech committed Jul 13, 2022
1 parent c53ef3e commit 6f2082a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugins/pkg_commands.d/centos
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# CentOS uses yum/dnf or rpm-ostree(edge images) as the package command
if [[ -x /run/ostree-booted ]]; then
RSTRNT_PKG_CMD=${RSTRNT_PKG_CMD:-rpm-ostree}
RSTRNT_PKG_ARGS=${RSTRNT_PKG_ARGS:-A --idempotent --allow-inactive}
fi

0 comments on commit 6f2082a

Please sign in to comment.