Skip to content

Instantly share code, notes, and snippets.

View joegyoung's full-sized avatar

Joseph Young joegyoung

View GitHub Profile

Proxmox VE tips

Just a somewhat chaotic list of Proxmox VE related tips/notes.

Please note that unless you see a shebang (#!/...) these code blocks are usually meant to be copy & pasted directly into the shell. Some of the steps will not work if you run part of them in a script and copy paste other ones as they rely on variables set before.
The { and } surrounding some scripts are meant to avoid cluttering your shell history with individual commands, etc. You can ignore them if you manually copy paste the individual commands.

Table of contents

@ngadmini
ngadmini / pve_API2Subs_sed.sh
Last active August 10, 2024 00:42
remove naged subscription message on proxmox 7.x-x
#!/usr/bin/env bash
# TAGS
# /usr/local/bin/pve-API2Subs_sed.sh
# https://gist.github.com/ngadmini/7f9df377999cc78c1b58e361d5425ac4#file-pve_api2subs-sh
# AUTHOR
# ngadimin@warnet-ersa.net
# https://github.com/ngadmini
# https://gist.github.com/ngadmini
# VERSION
# v10.5
@CHSuworatrai
CHSuworatrai / VMware vSphere 6.x Licence Keys
Created April 8, 2021 09:20 — forked from DVSB/VMware vSphere 6.x Licence Keys
VMware vSphere 6 and 7 Licence Keys
VMware vSphere 6 Enterprise Plus
1C20K-4Z214-H84U1-T92EP-92838
1A2JU-DEH12-48460-CT956-AC84D
MC28R-4L006-484D1-VV8NK-C7R58
5C6TK-4C39J-48E00-PH0XH-828Q4
4A4X0-69HE3-M8548-6L1QK-1Y240
VMware vSphere with Operations Management 6 Enterprise
4Y2NU-4Z301-085C8-M18EP-2K8M8
1Y48R-0EJEK-084R0-GK9XM-23R52
@Lukas-Heiligenbrunner
Lukas-Heiligenbrunner / updateAllProxmox.sh
Last active February 19, 2023 21:26
Proxmox script to update all containers
#!/bin/bash
# update all containers
# execute on host
# list of container ids we need to iterate through
containers=$(pct list | tail -n +2 | cut -f1 -d' ')
function update_container() {
container=$1
echo "[UPDATER] Updating $container..."
@kylemcdonald
kylemcdonald / stylegan.ipynb
Created February 5, 2019 16:57
StyleGAN.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@calebreister
calebreister / backup.sh
Last active August 29, 2015 14:10
This is a shell script that runs incremental backups on the btrfs filesystem. I used the instructions on the wiki for the initial setup. It is designed to work with the Ubuntu btrfs configuration. THIS SCRIPT COMES WITH ABSOLUTELY NO WARRANTY. Any loss of data is not my responsibility. However, it does work for me, and I regularly use it.
#!/bin/sh
#Find a date in file name:
#ls | grep -E $datematch
if [ "$(whoami)" != "root" ]; then
echo Please run this script as root.
exit
fi