Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ZTP] Improvements to the connectivity-check plugin #38

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Modified log message when restarting the networking service
rajendra-dendukuri committed Oct 10, 2022
commit 2fdc1f28a471945be4ff355a5056bd9c8ab1db91
4 changes: 2 additions & 2 deletions src/usr/lib/ztp/plugins/connectivity-check
Original file line number Diff line number Diff line change
@@ -91,8 +91,8 @@ class ConnectivityCheck:
break

if dhcp:
logger.info('Restarting networking to establish connectivity')
updateActivity('Restarting networking to establish connectivity')
logger.info('Restarting networking service to restart DHCP')
updateActivity('Restarting networking service to restart DHCP')
runCommand('systemctl restart interfaces-config')
logger.info('Restarted networking')
updateActivity('Restarted networking')