See https://github.com/traefikturkey/onvoy/tree/master/proxmox for latest versions of the proxmox install scripts!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Proxmox 7.1-12 | |
$ apt-get update | |
$ apt-get install ethtool | |
$ ethtool -e eno1 offset 0x58 length 1 | |
Offset Values | |
------ ------ | |
0x0058: fc | |
$ ethtool -E ens106f0 magic 0x10FB8086 offset 0x58 value 0xfd length 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# curl -s https://gist.githubusercontent.com/ilude/457f2ef2e59d2bff8bb88b976464bb91/raw/cluster_create_setup.sh?$(date +%s) > ~/bin/setup_cluster.sh; chmod +x ~/bin/setup_cluster.sh; setup_cluster.sh | |
echo "begin cluster_create_setup.sh" | |
export CREATE_TEMPLATE=1 #false | |
while test $# -gt 0; do | |
case "$1" in | |
--template) | |
export CREATE_TEMPLATE=0 #true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#You'll need to enable IPMI over lan in idrac first | |
#iDRAC Settings -> Network -> IPMI Settings | |
#Channel Privilege Level Limit needs to be Administrator | |
#You may want to create a dedicated username/pass with IPMI permission in iDRAC Settings -> User Authentication | |
IPMIHOST=idracip | |
IPMIUSER=username | |
IPMIPW=password | |
IPMIEK=0000000000000000000000000000000000000000 |
- Using a ready-to-use Ubuntu image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATUM=`date +%Y-%m-%d_%H-%M` | |
rsync --update -avW --delete-after --numeric-ids --stats -e "ssh -i /PATH/TO/.ssh/KEYFILE" /backup/ user@10.10.10.10:/raid/user/backup > /root/rsynclogs/rsync_$DATUM.log | |
# use --dry-run to simulate |