mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "fb13baee88df9a900215eefee74268420e057b01" and "1eaf2b2988badf910aced5e5a6df574553bfac48" have entirely different histories.
fb13baee88
...
1eaf2b2988
|
@ -7,13 +7,6 @@
|
||||||
|
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
|
|
||||||
## 2024-01-09
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- **Verbose mode**
|
|
||||||
- Only entries with `$STD` will be shown
|
|
||||||
|
|
||||||
## 2024-01-07
|
## 2024-01-07
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||||
|
|
||||||
# This sets verbose mode if the global variable is set to "yes"
|
# This sets verbose mode if the global variable is set to "yes"
|
||||||
# if [ "$VERBOSE" == "yes" ]; then set -x; fi
|
if [ "$VERBOSE" == "yes" ]; then set -x; fi
|
||||||
|
|
||||||
# This function sets color variables for formatting output in the terminal
|
# This function sets color variables for formatting output in the terminal
|
||||||
YW=$(echo "\033[33m")
|
YW=$(echo "\033[33m")
|
||||||
|
|
|
@ -17,6 +17,7 @@ color() {
|
||||||
|
|
||||||
verb_ip6() {
|
verb_ip6() {
|
||||||
if [ "$VERBOSE" = "yes" ]; then
|
if [ "$VERBOSE" = "yes" ]; then
|
||||||
|
set -x
|
||||||
STD=""
|
STD=""
|
||||||
else STD="silent"; fi
|
else STD="silent"; fi
|
||||||
silent() { "$@" >/dev/null 2>&1; }
|
silent() { "$@" >/dev/null 2>&1; }
|
||||||
|
|
|
@ -481,7 +481,7 @@ start() {
|
||||||
|
|
||||||
# This function collects user settings and integrates all the collected information.
|
# This function collects user settings and integrates all the collected information.
|
||||||
build_container() {
|
build_container() {
|
||||||
# if [ "$VERB" == "yes" ]; then set -x; fi
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||||
|
|
||||||
if [ "$CT_TYPE" == "1" ]; then
|
if [ "$CT_TYPE" == "1" ]; then
|
||||||
FEATURES="keyctl=1,nesting=1"
|
FEATURES="keyctl=1,nesting=1"
|
||||||
|
|
|
@ -18,6 +18,7 @@ color() {
|
||||||
# This function enables IPv6 if it's not disabled and sets verbose mode if the global variable is set to "yes"
|
# This function enables IPv6 if it's not disabled and sets verbose mode if the global variable is set to "yes"
|
||||||
verb_ip6() {
|
verb_ip6() {
|
||||||
if [ "$VERBOSE" = "yes" ]; then
|
if [ "$VERBOSE" = "yes" ]; then
|
||||||
|
set -x
|
||||||
STD=""
|
STD=""
|
||||||
else STD="silent"; fi
|
else STD="silent"; fi
|
||||||
silent() { "$@" >/dev/null 2>&1; }
|
silent() { "$@" >/dev/null 2>&1; }
|
||||||
|
|
Loading…
Reference in New Issue