- requires installing node-exporter on proxmox hosts. See Node-Exporter install notes
- requires setting up proxmox api access roles and access key
- script to export grafana dashboards to json
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 |
moved to https://github.com/ilude/adblock
See https://github.com/traefikturkey/onvoy/tree/master/proxmox for latest versions of the proxmox install scripts!
Please see: https://github.com/traefikturkey/onramp
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
# Installing the virtualbox guest additions | |
VBOX_VERSION=$(cat /etc/vagabond/vbox_version) | |
cd /tmp | |
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso | |
mount -o loop,ro VBoxGuestAdditions_$VBOX_VERSION.iso /mnt | |
sh /mnt/VBoxLinuxAdditions.run --nox11 | |
umount /mnt | |
rm VBoxGuestAdditions_$VBOX_VERSION.iso | |
unset VBOX_VERSION |
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
qemu-img create -f qcow2 /pool/vms/xp.qcow2 50G | |
sudo virt-install --connect qemu:///system -n xp -r 512 --disk path=/pool/vms/xp.qcow2,size=50 \ | |
-c /pool/iso/windows/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso \ | |
--graphics vnc,listen=0.0.0.0,port=65322 --noautoconsole \ | |
--os-type windows --os-variant winxp |
NewerOlder