From d95200e96763e4a7ed02577b1b177c84abb77838 Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Fri, 16 Dec 2022 11:41:33 +0100 Subject: dhcp: T3316: Migrate dhcp/dhcpv6 server to Kea --- op-mode-definitions/dhcp.xml.in | 4 ++-- op-mode-definitions/monitor-log.xml.in | 4 ++-- op-mode-definitions/show-log.xml.in | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/dhcp.xml.in b/op-mode-definitions/dhcp.xml.in index 9c2e2be76..ceb321f3e 100644 --- a/op-mode-definitions/dhcp.xml.in +++ b/op-mode-definitions/dhcp.xml.in @@ -163,7 +163,7 @@ Restart DHCP server - if cli-shell-api existsActive service dhcp-server; then sudo systemctl restart isc-dhcp-server.service; else echo "DHCP server not configured"; fi + if cli-shell-api existsActive service dhcp-server; then sudo systemctl restart kea-dhcp4-server.service; else echo "DHCP server not configured"; fi @@ -182,7 +182,7 @@ Restart DHCPv6 server - if cli-shell-api existsActive service dhcpv6-server; then sudo systemctl restart isc-dhcp-server6.service; else echo "DHCPv6 server not configured"; fi + if cli-shell-api existsActive service dhcpv6-server; then sudo systemctl restart kea-dhcp6-server.service; else echo "DHCPv6 server not configured"; fi diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index 44628a112..3a8118dcb 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -51,7 +51,7 @@ Monitor last lines of DHCP server log - journalctl --no-hostname --follow --boot --unit isc-dhcp-server.service + journalctl --no-hostname --follow --boot --unit kea-dhcp4-server.service @@ -81,7 +81,7 @@ Monitor last lines of DHCPv6 server log - journalctl --no-hostname --follow --boot --unit isc-dhcp-server6.service + journalctl --no-hostname --follow --boot --unit kea-dhcp6-server.service diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 3a622cfb5..399c6acf8 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -78,7 +78,7 @@ Show log for DHCP server - journalctl --no-hostname --boot --unit isc-dhcp-server.service + journalctl --no-hostname --boot --unit kea-dhcp4-server.service @@ -108,7 +108,7 @@ Show log for DHCPv6 server - journalctl --no-hostname --boot --unit isc-dhcp-server6.service + journalctl --no-hostname --boot --unit kea-dhcp6-server.service -- cgit v1.2.3