Skip to content

Instantly share code, notes, and snippets.

View aaannz's full-sized avatar

Ondřej Holeček aaannz

View GitHub Profile
@cbosdo
cbosdo / copy-system.py
Last active August 4, 2023 13:48
Clone Uyuni system in multiple fake ones using the DB
#!/usr/bin/python3
import base64
from contextlib import contextmanager
from datetime import datetime, timedelta, timezone
import hashlib
import os
import sys
import click
import jwt