File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash -xe
2+
3+ systemctl enable firewalld
4+ systemctl start firewalld
5+
6+ systemctl enable crond
7+ systemctl start crond
8+
9+ rm -rf /dev/shm/yum /dev/shm/* .rpm
10+ fstrim -va
11+
12+ firewall-cmd --permanent --zone=public --add-interface=eth0
13+ firewall-cmd --reload
14+
15+ # rotate logs quicker, because of the debug logs they tend to flood the root partition if they run > 15 minutes
16+ cat > /etc/cron.d/ovirt-engine << EOF
17+ * * * * * root logrotate /etc/logrotate.d/ovirt-engine
18+ * * * * * root logrotate /etc/logrotate.d/ovirt-engine-dwh
19+ EOF
20+
21+ # We are using an OST image that includes the engine. We do not setup
22+ # the engine, but install engine-setup code - thus might run it, with
23+ # unintended side effects. Let's remove it.
24+ # Current context: https://bugzilla.redhat.com/2126778
25+ dnf remove -y --noautoremove ovirt-engine
Original file line number Diff line number Diff line change 5050 "template" : " common/libvirt-templates/vm_template" ,
5151 "memory" : " 3584" ,
5252 "deploy-scripts" : [
53- " common/deploy-scripts/setup_engine .sh"
53+ " common/deploy-scripts/setup_dwh .sh"
5454 ],
5555 "nics" : {
5656 "dwh" : { "template" : " common/libvirt-templates/nic_template" },
You can’t perform that action at this time.
0 commit comments