Skip to content

Commit

Permalink
CA-384967: Fixup xcp-networkd service name
Browse files Browse the repository at this point in the history
Update service name xcp-network to xcp-networkd and use systemctl

Signed-off-by: Lin Liu <[email protected]>
  • Loading branch information
liulinC committed Nov 8, 2023
1 parent 3527d33 commit fef8944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/xe-reset-networking
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fef8944

Please sign in to comment.