feature: workbench pxe #2

Merged
pedro merged 83 commits from pxe into main 2024-09-28 02:19:31 +00:00
1 changed files with 0 additions and 7 deletions
Showing only changes of commit 8e4186d9d4 - Show all commits

View File

@ -7,7 +7,6 @@ import hashlib
import argparse import argparse
import configparser import configparser
import ntplib
import requests import requests
@ -287,12 +286,6 @@ def send_snapshot_to_devicehub(snapshot, token, url):
except: except:
print(f"workbench: ERROR: Snapshot not remotely sent. URL '{url}' is unreachable. Do you have internet? Is your server up & running?") print(f"workbench: ERROR: Snapshot not remotely sent. URL '{url}' is unreachable. Do you have internet? Is your server up & running?")
@logs
def sync_time():
# is neccessary?
ntplib.NTPClient()
response = client.request('pool.ntp.org')
def load_config(config_file="settings.ini"): def load_config(config_file="settings.ini"):
""" """
Tries to load configuration from a config file. Tries to load configuration from a config file.