Skip to content

Commit 258fe99

Browse files
authored
M #-: VR: Move coredhcp logs to /var/log + provide IPT default rules (#163)
1 parent 1d70e8c commit 258fe99

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

appliances/VRouter/DHCP4v2/main.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def install(initdir: '/etc/init.d')
134134
CONFIG_FILE="$BASE_DIR/#{CONFIG_FILE_NAME}"
135135
SERVICE_EXEC="$BASE_DIR/coredhcp-onelease"
136136
PIDFILE="/run/$RC_SVCNAME.pid"
137-
LOG_DIR="/var/log/one-appliance"
137+
LOG_DIR="/var/log"
138138
LOG_FILE="$LOG_DIR/$RC_SVCNAME.log"
139139
140140
command="$SERVICE_EXEC"

packer/service_VRouter/10-update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ apk --no-cache add bash curl ethtool gawk go grep iproute2 iptables iptables-ope
1111

1212
rc-update add iptables default
1313

14+
touch /etc/iptables/rules-save
15+
1416
sync

0 commit comments

Comments
 (0)