Skip to content

Commit 4adf9f7

Browse files
author
Marc Schöchlin
committed
remove random logic
1 parent 417a6be commit 4adf9f7

File tree

1 file changed

+2
-9
lines changed
  • src/openstack_workload_generator/entities

1 file changed

+2
-9
lines changed

src/openstack_workload_generator/entities/helpers.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,10 @@
1515

1616
LOGGER = logging.getLogger()
1717

18-
19-
def get_random_password() -> str:
20-
characters = string.ascii_letters + string.digits
21-
password = "".join(secrets.choice(characters) for _ in range(16))
22-
return password
23-
24-
2518
class Config:
2619
_config: dict[str, str | dict[str, str] | None] = {
27-
"admin_domain_password": get_random_password(),
28-
"admin_vm_password": get_random_password(),
20+
"admin_domain_password": "yolobanana",
21+
"admin_vm_password": "yolobanana",
2922
"admin_vm_ssh_key": "",
3023
"admin_vm_ssh_keypair_name": "my_ssh_public_key",
3124
"project_ipv4_subnet": "192.168.200.0/24",

0 commit comments

Comments
 (0)