Ported Debian (template) to ARM64

This commit is contained in:
Sam Heinz
2024-04-10 15:24:10 +10:00
parent b3007ccc83
commit 96f8fb74b8
2 changed files with 59 additions and 60 deletions
+58 -60
View File
@@ -1,71 +1,69 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
echo "Currently unsupported." function header_info {
clear
cat <<"EOF"
____ __ _
/ __ \___ / /_ (_)___ _____
/ / / / _ \/ __ \/ / __ `/ __ \
/ /_/ / __/ /_/ / / /_/ / / / /
/_____/\___/_.___/_/\__,_/_/ /_/
# function header_info { EOF
# clear }
# cat <<"EOF" header_info
# ____ __ _ echo -e "Loading..."
# / __ \___ / /_ (_)___ _____ APP="Debian"
# / / / / _ \/ __ \/ / __ `/ __ \ var_disk="2"
# / /_/ / __/ /_/ / / /_/ / / / / var_cpu="1"
# /_____/\___/_.___/_/\__,_/_/ /_/ var_ram="512"
var_os="debian"
var_version="12"
variables
color
catch_errors
# EOF function default_settings() {
# } CT_TYPE="1"
# header_info PW=""
# echo -e "Loading..." CT_ID=$NEXTID
# APP="Debian" HN=$NSAPP
# var_disk="2" DISK_SIZE="$var_disk"
# var_cpu="1" CORE_COUNT="$var_cpu"
# var_ram="512" RAM_SIZE="$var_ram"
# var_os="debian" BRG="vmbr0"
# var_version="12" NET="dhcp"
# variables GATE=""
# color APT_CACHER=""
# catch_errors APT_CACHER_IP=""
DISABLEIP6="no"
MTU=""
SD=""
NS=""
MAC=""
VLAN=""
SSH="no"
VERB="no"
echo_default
}
# function default_settings() { function update_script() {
# CT_TYPE="1" header_info
# PW="" if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
# CT_ID=$NEXTID msg_info "Updating $APP LXC"
# HN=$NSAPP apt-get update &>/dev/null
# DISK_SIZE="$var_disk" apt-get -y upgrade &>/dev/null
# CORE_COUNT="$var_cpu" msg_ok "Updated $APP LXC"
# RAM_SIZE="$var_ram" exit
# BRG="vmbr0" }
# NET="dhcp"
# GATE=""
# APT_CACHER=""
# APT_CACHER_IP=""
# DISABLEIP6="no"
# MTU=""
# SD=""
# NS=""
# MAC=""
# VLAN=""
# SSH="no"
# VERB="no"
# echo_default
# }
# function update_script() { start
# header_info build_container
# if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi description
# msg_info "Updating $APP LXC"
# apt-get update &>/dev/null
# apt-get -y upgrade &>/dev/null
# msg_ok "Updated $APP LXC"
# exit
# }
# start msg_ok "Completed Successfully!\n"
# build_container
# description
# msg_ok "Completed Successfully!\n"
+1
View File
@@ -17,6 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
motd_ssh motd_ssh