### Addition: #1292

Closed
opened 2026-02-05 00:12:52 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @ahmaddxb on GitHub (Jul 16, 2025).

Addition:

Due to the latest changes to the core, it is necessary to add the following lines (if not exist!) to your .settings:

nano /opt/community-scripts/.settings
SSH="yes" or "no" 
SSH_AUTHORIZED_KEY="none" or "your_key" 
IPV6_METHOD="none" (or "static", or "auto" or "dhcp" - but thats not tested expect "auto") 
ENABLE_FUSE="no"
ENABLE_TUN="no"

or for lxc-configs:

nano /opt/community-scripts/ubuntu.conf
# ubuntu Configuration File
CT_TYPE="1"
DISK_SIZE="10"
CORE_COUNT="2"
RAM_SIZE="2048"
VERBOSE="no"
PW=""
HN="ubuntu"
BRG="vmbr0"
NET="dhcp"
IPV6_METHOD="auto"
# Set this only if using "IPV6_METHOD=static"
#IPV6STATIC="fd00::1234/64"

GATE="none"
APT_CACHER_IP="none"
MTU="1500"
SD="none"
NS="none"
MAC="none"
VLAN="none"
SSH="no"
SSH_AUTHORIZED_KEY=""
TAGS="os"
ENABLE_FUSE="no"
ENABLE_TUN="no"

Originally posted by @MickLesk in https://github.com/community-scripts/ProxmoxVE/discussions/1637#discussioncomment-13761117

if NET="dhcp" I get this error below

⠧ Creating LXC Container
[ERROR] in line 1098: exit code 0: while executing command bash -c "(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" ?

Originally created by @ahmaddxb on GitHub (Jul 16, 2025). ### Addition: Due to the latest changes to the core, it is necessary to add the following lines **(if not exist!)** to your .settings: ```bash nano /opt/community-scripts/.settings ``` ```bash SSH="yes" or "no" SSH_AUTHORIZED_KEY="none" or "your_key" IPV6_METHOD="none" (or "static", or "auto" or "dhcp" - but thats not tested expect "auto") ENABLE_FUSE="no" ENABLE_TUN="no" ``` --- or for lxc-configs: ```bash nano /opt/community-scripts/ubuntu.conf ``` ```bash # ubuntu Configuration File CT_TYPE="1" DISK_SIZE="10" CORE_COUNT="2" RAM_SIZE="2048" VERBOSE="no" PW="" HN="ubuntu" BRG="vmbr0" NET="dhcp" IPV6_METHOD="auto" # Set this only if using "IPV6_METHOD=static" #IPV6STATIC="fd00::1234/64" GATE="none" APT_CACHER_IP="none" MTU="1500" SD="none" NS="none" MAC="none" VLAN="none" SSH="no" SSH_AUTHORIZED_KEY="" TAGS="os" ENABLE_FUSE="no" ENABLE_TUN="no" ``` _Originally posted by @MickLesk in https://github.com/community-scripts/ProxmoxVE/discussions/1637#discussioncomment-13761117_ if NET="dhcp" I get this error below ⠧ Creating LXC Container [ERROR] in line 1098: exit code 0: while executing command bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $?
Author
Owner

@MickLesk commented on GitHub (Jul 16, 2025):

What is this? Can't you create real issues that make sense? If your DHCP server says nope, what are we supposed to do? Create a correct issue with Verbose, nobody can do anything with it

@MickLesk commented on GitHub (Jul 16, 2025): What is this? Can't you create real issues that make sense? If your DHCP server says nope, what are we supposed to do? Create a correct issue with Verbose, nobody can do anything with it
Author
Owner

@ahmaddxb commented on GitHub (Jul 16, 2025):

Setting verbose to on doesnt help.

Like I say before the only way to get it to work is to comment out NET="dhcp". This I found with trial and error commenting out things in my .settings file until i found the culprit.

My dhcp server is working fine.

    ____  __         
   / __ \/ /__  _  __
  / /_/ / / _ \| |/_/
 / ____/ /  __/>  <  
/_/   /_/\___/_/|_|  
                     
  💡    Using Config File on node pve
  💡  Using config File: /opt/community-scripts/.settings
  🆔  Container ID: 104
  📦  Container Type: Unprivileged
  🔐  Root Password: ********
  🏠  Hostname: plex
  💾  Disk Size: 8 GB
  🧠  CPU Cores: 2
  🛠️  RAM Size: 2048 MiB
  🌉  Bridge: vmbr0
  📡  IP Address: DHCP
  🌐  Gateway IP Address: Default
  📡  APT-Cacher IP Address: No
  ⚙️  Interface MTU Size: 1500
  📡  IPv6 Address: auto
  🔍  DNS Search Domain: Host
  📡  DNS Server IP Address: Host
  🔗  MAC Address: Host
  🏷️  Vlan: Host
  📡  Tags: community-scripts;
  🔑  Root SSH Access: yes
  🔑  SSH Authorized Key: ********************
  🗂️  Enable FUSE: No
  🗂️  Enable TUN: No
  🔍  Verbose Mode: yes
  🚀  Creating a Plex LXC using the above settings
  ✔️   Validated Storage (rootdir / vztmpl).
  ✔️   LXC Template List Updated
  ⏳   Creating LXC Container
[ERROR] in line 1098: exit code 0: while executing command bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $?
@ahmaddxb commented on GitHub (Jul 16, 2025): Setting verbose to on doesnt help. Like I say before the only way to get it to work is to comment out NET="dhcp". This I found with trial and error commenting out things in my .settings file until i found the culprit. My dhcp server is working fine. ``` ____ __ / __ \/ /__ _ __ / /_/ / / _ \| |/_/ / ____/ / __/> < /_/ /_/\___/_/|_| 💡 Using Config File on node pve 💡 Using config File: /opt/community-scripts/.settings 🆔 Container ID: 104 📦 Container Type: Unprivileged 🔐 Root Password: ******** 🏠 Hostname: plex 💾 Disk Size: 8 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🌉 Bridge: vmbr0 📡 IP Address: DHCP 🌐 Gateway IP Address: Default 📡 APT-Cacher IP Address: No ⚙️ Interface MTU Size: 1500 📡 IPv6 Address: auto 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🔗 MAC Address: Host 🏷️ Vlan: Host 📡 Tags: community-scripts; 🔑 Root SSH Access: yes 🔑 SSH Authorized Key: ******************** 🗂️ Enable FUSE: No 🗂️ Enable TUN: No 🔍 Verbose Mode: yes 🚀 Creating a Plex LXC using the above settings ✔️ Validated Storage (rootdir / vztmpl). ✔️ LXC Template List Updated ⏳ Creating LXC Container [ERROR] in line 1098: exit code 0: while executing command bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $? ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1292