Skip to content

Commit

Permalink
Update almalinux9-controller.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
goffinet authored Oct 25, 2024
1 parent e5fdf42 commit 7b115b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/almalinux9-controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ interface=eth0
dhcp-range=11.12.13.100,11.12.13.150,255.255.255.0,512h
dhcp-option=3
EOF
cat << EOF > /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
IPADDR=11.12.13.1
PREFIX=24
IPV4_FAILURE_FATAL=no
DNS1=127.0.0.1
EOF
sed -i 's/^#\$ModLoad imudp/$ModLoad imudp/g' /etc/rsyslog.conf
sed -i 's/^#\$UDPServerRun 514/$UDPServerRun 514/g' /etc/rsyslog.conf
sed -i 's/^#\$ModLoad imtcp/$ModLoad imtcp/g' /etc/rsyslog.conf
Expand Down

0 comments on commit 7b115b1

Please sign in to comment.