Change logging wording
This commit is contained in:
parent
fb31c91cab
commit
3f047c29b6
4
woven.py
4
woven.py
|
@ -132,7 +132,7 @@ class WovenMesh:
|
|||
cs = { id: Connection(f"{node.address}", user = "root", config = ssh_config) for id, node in self.mesh_nodes.items() }
|
||||
|
||||
for id, c in cs.items():
|
||||
print(f"stopping services for {id}...", end = " ", flush = True)
|
||||
print(f"stopping tunnels for {id}...", end = " ", flush = True)
|
||||
c.run(f"for f in {self.wireguard_config_glob}; do systemctl stop wg-quick@$(basename $f {self.wireguard_config_ext}).service; done")
|
||||
print("done")
|
||||
print(f"removing existing configs for {id}...", end = " ", flush = True)
|
||||
|
@ -241,7 +241,7 @@ class WovenMesh:
|
|||
print("done")
|
||||
|
||||
for id, c in cs.items():
|
||||
print(f"starting services for {id}...", end = " ", flush = True)
|
||||
print(f"starting tunnels for {id}...", end = " ", flush = True)
|
||||
c.run(f"for f in {self.wireguard_config_glob}; do systemctl start wg-quick@$(basename $f .{self.wireguard_config_ext}).service; done")
|
||||
print("done")
|
||||
|
||||
|
|
Loading…
Reference in New Issue