Change logging wording

This commit is contained in:
LilyRose2798 2024-04-25 02:49:45 +10:00
parent fb31c91cab
commit 3f047c29b6
1 changed files with 2 additions and 2 deletions

View File

@ -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() } 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(): 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") 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("done")
print(f"removing existing configs for {id}...", end = " ", flush = True) print(f"removing existing configs for {id}...", end = " ", flush = True)
@ -241,7 +241,7 @@ class WovenMesh:
print("done") print("done")
for id, c in cs.items(): 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") 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") print("done")