File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ _CS_DEFAULT_URL=" https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
3+ _cs_boot=" ${COMMUNITY_SCRIPTS_CORE_DIR:- $(dirname " ${BASH_SOURCE[0]} " )/ ../ ../ core} /core/build.func"
4+ source " $_cs_boot " 2> /dev/null || source <( curl -fsSL " ${COMMUNITY_SCRIPTS_CORE_URL:- https:// raw.githubusercontent.com/ community-scripts/ core/ main} /core/build.func" )
5+ # Copyright (c) 2021-2026 community-scripts ORG
6+ # Author: MickLesk (CanbiZ)
7+ # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
8+ # Source: https://almalinux.org/
9+
10+ APP=" AlmaLinux"
11+ var_tags=" ${var_tags:- os} "
12+ var_cpu=" ${var_cpu:- 1} "
13+ var_ram=" ${var_ram:- 512} "
14+ var_disk=" ${var_disk:- 4} "
15+ var_os=" ${var_os:- almalinux} "
16+ var_version=" ${var_version:- 10} "
17+ var_arm64=" ${var_arm64:- no} "
18+ var_unprivileged=" ${var_unprivileged:- 1} "
19+
20+ header_info " $APP "
21+ variables
22+ color
23+ catch_errors
24+
25+ function update_script() {
26+ header_info
27+ check_container_storage
28+ check_container_resources
29+ if [[ ! -d /var ]]; then
30+ msg_error " No ${APP} Installation Found!"
31+ exit
32+ fi
33+ msg_info " Updating AlmaLinux"
34+ $STD dnf -y upgrade
35+ msg_ok " Updated AlmaLinux"
36+ exit
37+ }
38+
39+ start
40+ build_container
41+ description
42+
43+ msg_ok " Completed successfully!"
44+ echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
Original file line number Diff line number Diff line change 1+ ___ __ __ _
2+ / | / /___ ___ ____ _/ / (_)___ __ ___ __
3+ / /| | / / __ `__ \/ __ `/ / / / __ \/ / / / |/_/
4+ / ___ |/ / / / / / / /_/ / /___/ / / / / /_/ /> <
5+ /_/ |_/_/_/ /_/ /_/\__,_/_____/_/_/ /_/\__,_/_/|_|
6+
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright (c) 2021-2026 community-scripts ORG
4+ # Author: MickLesk (CanbiZ)
5+ # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+ # Source: https://almalinux.org/
7+
8+ source /dev/stdin <<< " $FUNCTIONS_FILE_PATH"
9+ color
10+ verb_ip6
11+ catch_errors
12+ setting_up_container
13+ network_check
14+ update_os
15+
16+ motd_ssh
17+ customize
18+ cleanup_lxc
You can’t perform that action at this time.
0 commit comments