Skip to content

Instantly share code, notes, and snippets.

View Oceanswave's full-sized avatar
🎯
Focusing

Sean McLellan Oceanswave

🎯
Focusing
View GitHub Profile
Renaming a Proxmox VE Node
I recently upgraded my homelab Proxmox host server and wanted to repurpose my existing server to use as a testing environment. Below are the steps I used to rename the old Proxmox instance. These steps worked for me. Please let me know in the comments if you try these steps and any issues arise that I didn't have in my environment.
NOTE: Renaming a node that is part of a cluster is not recommended. These steps are intended for standalone nodes. Always make backups of important VMs before attempting to modify the Proxmox host.
Log into ProxMox VE, either at the console, via SSH or the web UI and launch the web shell
Run the following commands, alternatively you can manually edit each file mentioned with nano or vi and replace the old hostname with the new one
# set the old hostname and write to ini
echo "OLD_HOSTNAME=$(hostname)" > ~/pmrename.ini
# set the new hostname in ini, update as needed
@Oceanswave
Oceanswave / main.py
Last active January 28, 2024 17:41
Streaming Transcriber w/ Whisper v3
#! python3.7
import argparse
import io
import os
import torch
from transformers import pipeline
import speech_recognition as sr
from datetime import datetime, timedelta