Merge pull request #129 from BarbarossaTM/feature/dhcp-config
Rename dhcp related interface options to dhcp-* and allow interface specific config file
This commit is contained in:
commit
cef4fafdb9
3 changed files with 20 additions and 10 deletions
|
@ -48,7 +48,7 @@ udhcpc_opts_up_subshell_body() {
|
|||
}
|
||||
|
||||
hostname_subshell_body() {
|
||||
export IFACE=eth0 PHASE=up MOCK=echo IF_DHCP_PROGRAM=udhcpc IF_HOSTNAME="\$(echo test)"
|
||||
export IFACE=eth0 PHASE=up MOCK=echo IF_DHCP_PROGRAM=udhcpc IF_DHCP_HOSTNAME="\$(echo test)"
|
||||
atf_check -s exit:0 -o match:'/sbin/udhcpc -b -R -p /var/run/udhcpc.eth0.pid -i eth0 -x hostname:test' \
|
||||
${EXECUTOR}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue