Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add golang #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions scripts/configure-builder
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ LIST2REMOVE=$(rpm -qa | egrep '^rpm-ostree' || true)
sudo rm -rf /var/lib/osbuild-composer || true
sudo rm -rf /var/cache/{osbuild-composer,osbuild-worker} || true

# Install the experimental rpm-ostree packages
sudo wget -P /etc/yum.repos.d https://copr.fedorainfracloud.org/coprs/walters/ostreerhel8/repo/centos-stream-8/walters-ostreerhel8-centos-stream-8.repo

title "Installing ImageBuilder tools"
sudo dnf install -y \
osbuild-composer composer-cli cockpit-composer \
bash-completion podman genisoimage syslinux \
createrepo syslinux yum-utils selinux-policy-devel jq wget lorax rpm-build
createrepo syslinux yum-utils selinux-policy-devel jq wget lorax rpm-build golang

title "Starting osbuild-composer and cockpit services and configuring firewall"
sudo systemctl enable osbuild-composer.socket --now
sudo systemctl enable cockpit.socket --now
sudo firewall-cmd -q --add-service=cockpit --permanent
sudo firewall-cmd --reload

# Install the experimental rpm-ostree packages
sudo wget -P /etc/yum.repos.d https://copr.fedorainfracloud.org/coprs/walters/ostreerhel8/repo/centos-stream-8/walters-ostreerhel8-centos-stream-8.repo

# Temporary workaround until the rhocp-4.12-for-rhel-8-$(uname -i)-rpms repo can be used
title "Configuring 4.12 beta repo"
sudo tee /etc/yum.repos.d/rhocp-4.12-el8-beta-$(uname -i)-rpms.repo >/dev/null <<EOF
Expand Down