Compare commits
No commits in common. "8ea8e238982a2ce69970367fd747fd1f1b4d8564" and "bc0554a98760153b7d09a5bebcffd36db6577dbf" have entirely different histories.
8ea8e23898
...
bc0554a987
@ -963,11 +963,6 @@ start() {
|
|||||||
build_container() {
|
build_container() {
|
||||||
# if [ "$VERBOSE" == "yes" ]; then set -x; fi
|
# if [ "$VERBOSE" == "yes" ]; then set -x; fi
|
||||||
|
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then
|
|
||||||
echo -e "${INFO}${YW} build_container() skipped – not running on Proxmox${CL}"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CT_TYPE" == "1" ]; then
|
if [ "$CT_TYPE" == "1" ]; then
|
||||||
FEATURES="keyctl=1,nesting=1"
|
FEATURES="keyctl=1,nesting=1"
|
||||||
else
|
else
|
||||||
@ -1110,9 +1105,6 @@ EOF'
|
|||||||
|
|
||||||
# This function sets the description of the container.
|
# This function sets the description of the container.
|
||||||
description() {
|
description() {
|
||||||
if ! command -v pveversion >/dev/null 2>&1; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
IP=$(pct exec "$CTID" ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
IP=$(pct exec "$CTID" ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
||||||
|
|
||||||
# Generate LXC Description
|
# Generate LXC Description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user