# The top level settings are used as module
# and system configuration.
# A set of users which may be applied and/or used by various modules
# when a 'default' entry is found it will reference the 'default_user'
# from the distro configuration specified below
users:
- default
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 | |
# Ask the user for their Cloudflare API key, email, and zone | |
read -p "Enter your Cloudflare API key: " API_KEY | |
read -p "Enter your Cloudflare email: " EMAIL | |
read -p "Enter your Cloudflare zone: " ZONE | |
# Get the IP addresses | |
IPV4=$(curl -s -X GET -4 https://ifconfig.co) | |
IPV6=$(curl -s -X GET -6 https://ifconfig.co) |
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 | |
# Check if we are running inside a screen session | |
if [ -z "$STY" ]; then | |
# Check if screen is installed | |
if ! command -v screen &> /dev/null; then | |
echo "Screen is not installed. Would you like to install it now? (y/n)" | |
read -r install_screen | |
if [[ $install_screen == "y" ]]; then | |
# Install screen (Debian/Ubuntu example) |
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 | |
# Install Docker | |
echo -e "\n\nInstalling Docker..." | |
sh <(curl -sSL https://get.docker.com) | |
if [ $? -eq 0 ]; then | |
echo -e "\033[0;32mDocker installation succeeded.\033[0m" | |
else | |
echo -e "\033[0;31mDocker installation failed.\033[0m" | |
exit 1 |
The configs below are all seperated. Pick what you need, theres a sample script at the bottom.
- Set Timezone and Locale: Configure the system's timezone and locale to match your geographic location and preferred language settings.
timezone: "Etc/UTC"
WslRegisterDistribution failed with error: 0x8007019e Error: 0x8007019e The Windows Subsystem for Linux has not been enabled.
The error WslRegisterDistribution failed with error: 0x8007019e
indicates that the Windows Subsystem for Linux (WSL) feature is not enabled on your Windows machine. To resolve this issue, you will need to enable WSL through the Windows features settings or by using PowerShell commands.
Here are the steps to enable WSL:
- Enable WSL via Windows Features:
- Open the "Turn Windows features on or off" dialog by searching for it in the Windows search box.
- Scroll through the list and find the "Windows Subsystem for Linux" option.
- Check the box next to "Windows Subsystem for Linux" and click "OK."
- Launch the Telegram app and use the search function to locate
@BotFather
. - Initiate interaction by selecting Start.
- Access the Menu and choose
/newbot
or simply type/newbot
into the chat and press Send. - Proceed with the provided instructions until you receive a message similar to the following:
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 | |
set -o errexit | |
clear | |
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n" | |
### HOW TO USE | |
### Pre-req: | |
### - run on a Proxmox 6 server | |
### - a dhcp server should be active on vmbr1 |