This file contains hidden or 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 | |
set -e | |
# Detect architecture | |
ARCH=$(uname -m) | |
if [[ "$ARCH" == "x86_64" ]]; then | |
ARCH="amd64" | |
elif [[ "$ARCH" == "aarch64" ]]; then | |
ARCH="arm64"\elif [[ "$ARCH" == "armv7l" ]]; then |
This file contains hidden or 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 | |
# Function to check if lazydocker is installed | |
is_lazydocker_installed() { | |
if command -v lazydocker &> /dev/null; then | |
return 0 | |
else | |
return 1 | |
fi |
This file contains hidden or 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 | |
# Define target directory for downloading and storing cloud images | |
TARGET_DIRECTORY="/opt/firmware/cloud-images" | |
mkdir -p "$TARGET_DIRECTORY" | |
# Array of Debian releases and their cloud image URLs | |
declare -A debian_releases=( | |
["debian-buster"]="https://cloud.debian.org/images/cloud/buster/latest/debian-10-genericcloud-amd64.qcow2 SHA512" | |
["debian-buster-backports"]="https://cloud.debian.org/images/cloud/buster-backports/latest/debian-10-backports-genericcloud-amd64.qcow2 SHA512" |
This file contains hidden or 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
cd /tmp/ | |
wget --user-agent="Mozilla" https://dl.dell.com/FOLDER09667202M/1/Dell-iDRACTools-Web-LX-11.1.0.0-5294_A00.tar.gz | |
tar -xvf Dell-iDRACTools-Web-LX-11.1.0.0-5294_A00.tar.gz | |
cd iDRACTools/racadm/UBUNTU22/x86_64 | |
sudo dpkg -i *.deb # there are multiple debs | |
# Use racadm to get started. | |
sudo racadm |
This file contains hidden or 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
# ------------------------------------------------ | |
# Banner Subription Remover | |
# ------------------------------------------------ | |
# File: /usr/local/bin/pve-subscription-banner-remover.sh | |
#!/bin/bash | |
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js | |
systemctl restart pveproxy.service |
This file contains hidden or 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
# {{ ansible_managed }} | |
{% if ansible_distribution_major_version | int <= 9 %} | |
# ๐๐๐๐๐ Debian apt archives ๐๐๐๐๐ | |
deb http://archive.debian.org/debian/ {{ ansible_distribution_release }} main contrib {% if ansible_virtualization_role == 'host' %}non-free{% endif %} | |
{% if ansible_distribution_major_version | int == 9 %} | |
deb http://archive.debian.org/debian/ {{ ansible_distribution_release }}-proposed-updates main contrib | |
{% endif %} |
This file contains hidden or 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
# Install fprintd and the pam library | |
sudo apt-get install fprintd libpam-fprintd | |
# Enrole your finger | |
finger-print-enrolement | |
# Update PAM to support "Fingerprint authentication" | |
sudo pam-auth-update |