Compare commits
2 commits
30dce9b2ef
...
54c90a4c55
Author | SHA1 | Date | |
---|---|---|---|
54c90a4c55 | |||
d7763f748b |
|
@ -57,6 +57,7 @@ install_tftp() {
|
|||
# from https://wiki.debian.org/PXEBootInstall#Simple_way_-_using_Dnsmasq
|
||||
cat > /etc/dnsmasq.d/pxe-tftp <<END
|
||||
port=0
|
||||
# info: https://wiki.archlinux.org/title/Dnsmasq#Proxy_DHCP
|
||||
dhcp-range=${nfs_allowed_lan%/*},proxy
|
||||
dhcp-boot=pxelinux.0
|
||||
pxe-service=x86PC,"Network Boot",pxelinux
|
||||
|
|
|
@ -276,7 +276,7 @@ def save_snapshot_in_disk(snapshot, path):
|
|||
f.write(json.dumps(snapshot))
|
||||
print(f"workbench: INFO: Snapshot written in fallback path '{fallback_filename}'")
|
||||
except Exception as e:
|
||||
print(f"workbench: ERROR: Failed to write in fallback path: {fallback_error}. Could not save snapshot locally.")
|
||||
print(f"workbench: ERROR: Failed to write in fallback path: {fallback_filename}. Could not save snapshot locally.")
|
||||
|
||||
# TODO sanitize url, if url is like this, it fails
|
||||
# url = 'http://127.0.0.1:8000/api/snapshot/'
|
||||
|
|
Loading…
Reference in a new issue