Files
.github
CONTRIBUTOR_AND_GUIDES
ct
install
json
CODE-AUDIT.md
CONTRIBUTING.md
USER_SUBMITTED_GUIDES.md
DISCUSSION_TEMPLATE
ISSUE_TEMPLATE
runner
workflows
CODEOWNERS
CODE_OF_CONDUCT.md
FUNDING.yml
autolabeler-config.json
changelog-pr-config.json
pull_request_template.md
.vscode
api
ct
frontend
install
misc
tools
turnkey
vm
.editorconfig
.gitattributes
.gitignore
CHANGELOG.md
LICENSE
README.md
SECURITY.md
ProxmoxVE_Scripts/.github/CONTRIBUTOR_AND_GUIDES/CODE-AUDIT.md

1.7 KiB

Exploring the Scripts and Steps Involved in an Application LXC Installation

  1. adguard.sh: This script collects system parameters. (Also holds the function to update the application.)
  2. build.func: Adds user settings and integrates collected information.
  3. create_lxc.sh: Constructs the LXC container.
  4. adguard-install.sh: Executes functions from install.func, and installs the application.
  5. adguard.sh (again): To display the completion message.

The installation process uses reusable scripts: build.func, create_lxc.sh, and install.func, which are not specific to any particular application.

To gain a better understanding, focus on reviewing adguard-install.sh. This script contains the commands and configurations for installing and configuring AdGuard Home within the LXC container.