Skip to content
Merged
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
6 changes: 5 additions & 1 deletion scripts/devenv-builder/configure-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function install_build_deps() {
if ${DNF_UPDATE}; then
"${DNF_RETRY}" "update" "--nobest"
fi
"${DNF_RETRY}" "install" "gcc git golang cockpit make jq selinux-policy-devel rpm-build jq bash-completion avahi-tools createrepo"
"${DNF_RETRY}" "install" "gcc git golang cockpit make jq selinux-policy-devel rpm-build jq bash-completion avahi-tools createrepo gettext"

# run only if booted with systemd
[[ -d /run/systemd/system ]] && sudo systemctl enable --now cockpit.socket
Expand Down Expand Up @@ -347,6 +347,10 @@ function build_and_install_microshift_rpms() {
function configure_firewall() {
"${DNF_RETRY}" "install" "firewalld"
sudo systemctl enable firewalld --now
for _ in $(seq 30) ; do
sudo firewall-cmd --state &>/dev/null && break
sleep 1
done
Comment thread
coderabbitai[bot] marked this conversation as resolved.
sudo firewall-cmd --permanent --zone=trusted --add-source=10.42.0.0/16
sudo firewall-cmd --permanent --zone=trusted --add-source=169.254.169.1
sudo firewall-cmd --permanent --zone=trusted --add-source=fd01::/48
Expand Down