mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-12-26 20:21:00 +03:00
fix hostname bug
This commit is contained in:
parent
22ac660738
commit
a714118f63
@ -336,7 +336,7 @@ def device_restore():
|
|||||||
run_user_cmd(c, args.user_cmd_file)
|
run_user_cmd(c, args.user_cmd_file)
|
||||||
ppush_the_repo(c)
|
ppush_the_repo(c)
|
||||||
reboot(c)
|
reboot(c)
|
||||||
print(f"Restore backup complete (hostname {hostname}), rebooting target device..\n")
|
print(f"Restore backup complete (hostname {args.source_hostname}), rebooting target device..\n")
|
||||||
except socket.timeout:
|
except socket.timeout:
|
||||||
print(f"Failed to connect to the host {device_ip}")
|
print(f"Failed to connect to the host {device_ip}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user