forked from forkanization/Proxmox-arm64
Port new scripts to arm64
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck
|
||||
# License: MIT
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck
|
||||
# Co-Author: havardthom
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: MickLesk (Canbiz)
|
||||
# License: MIT
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck
|
||||
# Co-Author: MickLesk (Canbiz)
|
||||
|
||||
+66
-64
@@ -1,70 +1,72 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck
|
||||
# Co-Author: MickLesk (Canbiz)
|
||||
# License: MIT
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
# source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||
# # Copyright (c) 2021-2024 tteck
|
||||
# # Author: tteck
|
||||
# # Co-Author: MickLesk (Canbiz)
|
||||
# # License: MIT
|
||||
# # https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
clear
|
||||
cat <<"EOF"
|
||||
__ ___ _____ ____ __
|
||||
/ |/ /_ __/ ___// __ \ / /
|
||||
/ /|_/ / / / /\__ \/ / / / / /
|
||||
/ / / / /_/ /___/ / /_/ / / /___
|
||||
/_/ /_/\__, //____/\___\_\/_____/
|
||||
/____/
|
||||
EOF
|
||||
}
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="MySQL"
|
||||
var_disk="4"
|
||||
var_cpu="1"
|
||||
var_ram="1024"
|
||||
var_os="debian"
|
||||
var_version="12"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
echo "Unsupported."
|
||||
|
||||
function default_settings() {
|
||||
CT_TYPE="1"
|
||||
PW=""
|
||||
CT_ID=$NEXTID
|
||||
HN=$NSAPP
|
||||
DISK_SIZE="$var_disk"
|
||||
CORE_COUNT="$var_cpu"
|
||||
RAM_SIZE="$var_ram"
|
||||
BRG="vmbr0"
|
||||
NET="dhcp"
|
||||
GATE=""
|
||||
APT_CACHER=""
|
||||
APT_CACHER_IP=""
|
||||
DISABLEIP6="no"
|
||||
MTU=""
|
||||
SD=""
|
||||
NS=""
|
||||
MAC=""
|
||||
VLAN=""
|
||||
SSH="no"
|
||||
VERB="no"
|
||||
echo_default
|
||||
}
|
||||
# function header_info {
|
||||
# clear
|
||||
# cat <<"EOF"
|
||||
# __ ___ _____ ____ __
|
||||
# / |/ /_ __/ ___// __ \ / /
|
||||
# / /|_/ / / / /\__ \/ / / / / /
|
||||
# / / / / /_/ /___/ / /_/ / / /___
|
||||
# /_/ /_/\__, //____/\___\_\/_____/
|
||||
# /____/
|
||||
# EOF
|
||||
# }
|
||||
# header_info
|
||||
# echo -e "Loading..."
|
||||
# APP="MySQL"
|
||||
# var_disk="4"
|
||||
# var_cpu="1"
|
||||
# var_ram="1024"
|
||||
# var_os="debian"
|
||||
# var_version="12"
|
||||
# variables
|
||||
# color
|
||||
# catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -f /usr/share/keyrings/mysql.gpg ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated Successfully"
|
||||
exit
|
||||
}
|
||||
# function default_settings() {
|
||||
# CT_TYPE="1"
|
||||
# PW=""
|
||||
# CT_ID=$NEXTID
|
||||
# HN=$NSAPP
|
||||
# DISK_SIZE="$var_disk"
|
||||
# CORE_COUNT="$var_cpu"
|
||||
# RAM_SIZE="$var_ram"
|
||||
# BRG="vmbr0"
|
||||
# NET="dhcp"
|
||||
# GATE=""
|
||||
# APT_CACHER=""
|
||||
# APT_CACHER_IP=""
|
||||
# DISABLEIP6="no"
|
||||
# MTU=""
|
||||
# SD=""
|
||||
# NS=""
|
||||
# MAC=""
|
||||
# VLAN=""
|
||||
# SSH="no"
|
||||
# VERB="no"
|
||||
# echo_default
|
||||
# }
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
# function update_script() {
|
||||
# header_info
|
||||
# if [[ ! -f /usr/share/keyrings/mysql.gpg ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
# msg_info "Updating ${APP} LXC"
|
||||
# apt-get update &>/dev/null
|
||||
# apt-get -y upgrade &>/dev/null
|
||||
# msg_ok "Updated Successfully"
|
||||
# exit
|
||||
# }
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
# start
|
||||
# build_container
|
||||
# description
|
||||
|
||||
# msg_ok "Completed Successfully!\n"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck
|
||||
# Co-Author: havardthom
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck
|
||||
# Co-Author: MickLesk (Canbiz)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck
|
||||
# Co-Author: MickLesk (Canbiz)
|
||||
|
||||
@@ -25,7 +25,9 @@ $STD apt-get install -y \
|
||||
libsasl2-dev \
|
||||
procps \
|
||||
dnsutils \
|
||||
ripgrep
|
||||
ripgrep \
|
||||
wget \
|
||||
openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Python Dependencies"
|
||||
|
||||
@@ -19,6 +19,8 @@ msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y curl
|
||||
$STD apt-get install -y sudo
|
||||
$STD apt-get install -y mc
|
||||
$STD apt-get install -y wget
|
||||
$STD apt-get install -y openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Cockpit"
|
||||
|
||||
@@ -21,7 +21,9 @@ $STD apt-get install -y \
|
||||
sudo \
|
||||
mc \
|
||||
lsb-release \
|
||||
gpg
|
||||
gpg \
|
||||
wget \
|
||||
openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Setting up evcc Repository"
|
||||
|
||||
@@ -19,12 +19,14 @@ msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y \
|
||||
curl \
|
||||
sudo \
|
||||
mc
|
||||
mc \
|
||||
wget \
|
||||
openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Homebox"
|
||||
RELEASE=$(curl -s https://api.github.com/repos/sysadminsmedia/homebox/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
wget -qO- https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_x86_64.tar.gz | tar -xzf - -C /opt
|
||||
wget -qO- https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_arm64.tar.gz | tar -xzf - -C /opt
|
||||
chmod +x /opt/homebox
|
||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
||||
msg_ok "Installed Homebox"
|
||||
|
||||
@@ -21,7 +21,9 @@ $STD apt-get install -y \
|
||||
lsb-release \
|
||||
curl \
|
||||
gnupg \
|
||||
mc
|
||||
mc \
|
||||
wget \
|
||||
openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing MySQL"
|
||||
|
||||
@@ -19,6 +19,8 @@ $STD apt-get install -y curl
|
||||
$STD apt-get install -y sudo
|
||||
$STD apt-get install -y mc
|
||||
$STD apt-get install -y gpg
|
||||
$STD apt-get install -y wget
|
||||
$STD apt-get install -y openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Neo4j (patience)"
|
||||
|
||||
@@ -28,7 +28,9 @@ $STD apt-get install -y \
|
||||
make \
|
||||
gnupg \
|
||||
ca-certificates \
|
||||
mc
|
||||
mc \
|
||||
wget \
|
||||
openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Node.js"
|
||||
|
||||
@@ -21,7 +21,9 @@ $STD apt-get install -y \
|
||||
gpg \
|
||||
curl \
|
||||
sudo \
|
||||
mc
|
||||
mc \
|
||||
wget \
|
||||
openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Setting up Node.js Repository"
|
||||
|
||||
+1
-1
@@ -491,7 +491,7 @@ install_script() {
|
||||
|
||||
start() {
|
||||
if command -v pveversion >/dev/null 2>&1; then
|
||||
if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "To ensure the safety of your system, please use ONLY https://tteck.github.io/Proxmox/\n\nThis will create a New ${APP} LXC. Proceed?" 10 90); then
|
||||
if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "To ensure the safety of your system, please use ONLY https://tteck.github.io/Proxmox/ or https://pimox_scripts.com\n\nThis will create a New ${APP} LXC. Proceed?" 10 90); then
|
||||
clear
|
||||
echo -e "⚠ User exited script \n"
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user