This guide has been made in Proxmox 7.2, which is the free, Debian-based hypervisor with Qemu, LXC, and ZFS. I use it in the Lenovo M700 machine. For the storage, I use 3 empty disks.
- Kubernetes cluster with containerd
- 3 master for high availability
This guide has been made in Proxmox 7.2, which is the free, Debian-based hypervisor with Qemu, LXC, and ZFS. I use it in the Lenovo M700 machine. For the storage, I use 3 empty disks.
for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done| #!/usr/bin/env python3 | |
| import pyAesCrypt | |
| import argparse | |
| import getpass | |
| def encrypt(filename, password, bufferSize): | |
| pyAesCrypt.encryptFile(str(filename), str(filename+".crypted"), password, bufferSize) | |
| def decrypt(filename, password, bufferSize): |
| #!/usr/bin/env python3 | |
| # Create 'ips.csv' file with '<IP-ADDRESS>,<MAC-ADDRESS>,<HOSTNAME>' lines | |
| # Example: | |
| # | |
| # ips.csv: | |
| # 192.168.1.1,ac:eg:ik:12:34:56,MyPC1 | |
| # 192.168.1.2,bd:fh:jl:67:89:01,MyPC2 | |
| # | |
| # Set network specific values (subnet, netmask, range, etc.) |
| import requests | |
| def telegramBotSendtext(msg): | |
| # For get botToken use the official telegram BotFather. | |
| botToken = '' | |
| # For get botChatID send the message to the bot and check https://api.telegram.org/bot<YOUR-TOKEN>/getUpdates and grep ID from id key | |
| botChatID = '' |