Skip to content

Commit 064baa4

Browse files
Add devuan (ct)
1 parent ff252a8 commit 064baa4

3 files changed

Lines changed: 70 additions & 0 deletions

File tree

ct/devuan.sh

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
6+
# Copyright (c) 2021-2026 community-scripts ORG
7+
# Author: MickLesk (CanbiZ)
8+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
9+
# Source: https://www.devuan.org/
10+
11+
APP="Devuan"
12+
var_tags="${var_tags:-os}"
13+
var_cpu="${var_cpu:-1}"
14+
var_ram="${var_ram:-512}"
15+
var_disk="${var_disk:-4}"
16+
var_os="${var_os:-devuan}"
17+
var_version="${var_version:-5.0}"
18+
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
19+
var_unprivileged="${var_unprivileged:-1}"
20+
21+
header_info "$APP"
22+
variables
23+
color
24+
catch_errors
25+
26+
function update_script() {
27+
header_info
28+
check_container_storage
29+
check_container_resources
30+
if [[ ! -d /var ]]; then
31+
msg_error "No ${APP} Installation Found!"
32+
exit
33+
fi
34+
msg_info "Updating Devuan LXC"
35+
$STD apt update
36+
$STD apt -y upgrade
37+
msg_ok "Updated Devuan LXC"
38+
exit
39+
}
40+
41+
start
42+
build_container
43+
description
44+
45+
msg_ok "Completed successfully!"
46+
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"

ct/headers/devuan

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
____
2+
/ __ \___ _ ____ ______ _____
3+
/ / / / _ \ | / / / / / __ `/ __ \
4+
/ /_/ / __/ |/ / /_/ / /_/ / / / /
5+
/_____/\___/|___/\__,_/\__,_/_/ /_/
6+

install/devuan-install.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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://www.devuan.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

0 commit comments

Comments
 (0)