Grandpuits proxy setup

This commit is contained in:
Quentin WEPHRE
2025-10-14 09:58:15 +02:00
parent a994661294
commit 20ec50badf
4 changed files with 15 additions and 17 deletions

View File

@@ -10,11 +10,11 @@ from azure.iot.hub.models import Twin, TwinProperties
load_dotenv(override=True)
ip_address_prefix = "10.188.11."
ip_address_prefix = "10.81.60."
ssh_command = "hostname"
csv_filename = "hoohana7.csv"
SITE_NAME = "HOOHANA"
csv_filename = "Grandpuits_01.csv"
SITE_NAME = "Grandpuits"
ssh_username = os.getenv("DEFAULT_CUBE_LINUX_ADMIN_USER")
ssh_password = os.getenv("DEFAULT_CUBE_LINUX_ADMIN_PASSWORD")
@@ -82,7 +82,7 @@ def main():
results = []
numbers = [16, 18, 34, 35]
numbers = [193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214]
for i in numbers:
ip_address = f"{ip_address_prefix}{i}"
print(f"Activating SSH for {ip_address}:", end=" ")