From fef89441cbe4fe3a54c040745db9d6fb1aa0e68c Mon Sep 17 00:00:00 2001 From: Lin Liu Date: Wed, 8 Nov 2023 03:31:32 +0000 Subject: [PATCH] CA-384967: Fixup xcp-networkd service name Update service name xcp-network to xcp-networkd and use systemctl Signed-off-by: Lin Liu --- scripts/xe-reset-networking | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/xe-reset-networking b/scripts/xe-reset-networking index 0d7e04fa8e1..7cfea4b656f 100755 --- a/scripts/xe-reset-networking +++ b/scripts/xe-reset-networking @@ -213,7 +213,7 @@ Type 'no' to cancel. # Reconfigure new management interface print("Reconfiguring " + device + "...") - os.system('service xcp-network stop >/dev/null 2>/dev/null') + os.system('systemctl stop xcp-networkd >/dev/null 2>/dev/null') try: os.remove('/var/lib/xcp/networkd.db') except Exception as e: