-
-
Notifications
You must be signed in to change notification settings - Fork 765
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b93060
commit 3175278
Showing
2 changed files
with
23 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,40 @@ | ||
#!/usr/bin/env bash | ||
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) | ||
source <(curl -s https://raw.githubusercontent.com/quantumryuu/ProxmoxVE/main/misc/build.func) | ||
# Copyright (c) 2021-2024 community-scripts ORG | ||
# Author: kristocopani | ||
# License: MIT | ||
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE | ||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE | ||
# Source: https://adguard.com/ | ||
|
||
function header_info { | ||
clear | ||
cat <<"EOF" | ||
__ __ _ | ||
/ /__ ____ / /__(_)___ _____ | ||
__ / / _ \/ __ \/ //_/ / __ \/ ___/ | ||
/ /_/ / __/ / / / ,< / / / / (__ ) | ||
\____/\___/_/ /_/_/|_/_/_/ /_/____/ | ||
EOF | ||
} | ||
header_info | ||
echo -e "Loading..." | ||
# App Default Values | ||
APP="Jenkins" | ||
var_disk="4" | ||
var_tags="Jenkins" | ||
var_cpu="2" | ||
var_ram="1024" | ||
var_disk="4" | ||
var_os="debian" | ||
var_version="12" | ||
var_unprivileged="1" | ||
|
||
# App Output & Base Settings | ||
header_info "$APP" | ||
base_settings | ||
|
||
# Core | ||
variables | ||
color | ||
catch_errors | ||
|
||
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 update_script() { | ||
header_info | ||
check_container_storage | ||
check_container_resources | ||
header_info | ||
check_container_storage | ||
check_container_resources | ||
} | ||
|
||
start | ||
build_container | ||
description | ||
|
||
msg_ok "Completed Successfully!\n" | ||
echo -e "${APP} should be reachable by going to the following URL. | ||
${BL}http://${IP}:8080${CL} \n" | ||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" | ||
echo -e "${INFO}${YW} Access it using the following URL:${CL}" | ||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters