Files
test/ct/alpine-mh.sh
Marc Hoppe d05739d27e
Some checks failed
Crawl Versions from newreleases.io / crawl-versions (push) Has been cancelled
Build and Publish Docker Image / build (push) Has been cancelled
Create Daily Release / create-daily-release (push) Has been cancelled
mhop...
2025-10-14 19:18:45 +02:00

51 lines
1.3 KiB
Bash

#!/usr/bin/env bash
myuser=mhop
mybranch=mhop
#source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
source <(curl -fsSL https://raw.githubusercontent.com/$myuser/ProxmoxVE/$mybranch/misc/build.func)
# Copyright (c) 2021-2025 tteck
# Author: tteck (tteckster)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://alpinelinux.org/
APP="Alpine"
var_tags="${var_tags:-os;alpine}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-512}"
var_disk="${var_disk:-1}"
var_os="${var_os:-alpine}"
var_version="${var_version:-3.22}"
var_unprivileged="${var_unprivileged:-1}"
var_ipv4_method="${var_ipv4_method:-static}"
var_ipv4_static="${var_ipv4_static:-192.168.178.235/24}"
var_gateway="${var_gateway:-192.168.178.1}"
var_ns="${var_ns:-1.1.1.1}"
var_ssh="${var_ssh:-yes}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
UPD=$(
whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 1 \
"1" "Check for Alpine Updates" ON \
3>&1 1>&2 2>&3
)
header_info
if [ "$UPD" == "1" ]; then
$STD apk -U upgrade
exit
fi
}
start
build_container
description
msg_ok "Completed Successfully!\n"