Ubuntu LXC Creation Error #409

Closed
opened 2026-02-04 18:35:48 +03:00 by OVERLORD · 19 comments
Owner

Originally created by @JanPauw on GitHub (Jan 30, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Ubuntu 24.04 LXC

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/ubuntu.sh)"

📝 Provide a clear and concise description of the issue.

Time of writing 19:27 UTC

I am trying to create a new Ubuntu LXC creating the script straight from the website.
I can enter all the values with no problem, but after the "input" part is done and it starts to create the lxc, I run into a script issue:

"unable to create CT 201 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/201/rootfs --skip-old-files --anchored --exclude './dev/'' failed: exit code 2
bash: line 201: exit: A problem occured while trying to create container.: numeric argument required
/dev/fd/63: line 840: failed: unbound variable"

I see that the "build.func" was updated 28 minutes ago:

"72335f2c4e"

Do the scripts get cached locally somewhere that I can clear?

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Step 1: Open node shell.
Step 2: Paste the script: " bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/ubuntu.sh)" "
Step 3: Go through Default/Advanced settings.
Step 4: Select 'Yes' to create lxc.
Step 5: Get error.

Paste the full error output (if available).


/ / / / /_ __ ______ / /___ __
/ / / / __ / / / / __ / / / / /
/ // / // / // / / / / // // /
_
/./_,// //_/_,_/

🧩 Using Advanced Settings on node pve
🖥️ Operating System: ubuntu
🌟 Version: 24.04
📦 Container Type: Unprivileged
🔐 Root Password: Automatic Login
🆔 Container ID: 201
🏠 Hostname: pterodactyl
💾 Disk Size: 100 GB
🧠 CPU Cores: 10
🛠️ RAM Size: 16384 MiB
🌉 Bridge: vmbr0
📡 IP Address: 192.168.2.201/24
🌐 Gateway IP Address: 192.168.1.1
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;os
🔑 Root SSH Access: no
🔍 Verbose Mode: no
🚀 Creating a Ubuntu LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
⠙unable to create CT 201 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/201/rootfs --skip-old-files --anchored --exclude './dev/'' failed: exit code 2
bash: line 201: exit: A problem occured while trying to create container.: numeric argument required
/dev/fd/63: line 840: failed: unbound variable

🖼️ Additional context (optional).

No response

Originally created by @JanPauw on GitHub (Jan 30, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Ubuntu 24.04 LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/ubuntu.sh)" ### 📝 Provide a clear and concise description of the issue. Time of writing 19:27 UTC I am trying to create a new Ubuntu LXC creating the script straight from the website. I can enter all the values with no problem, but after the "input" part is done and it starts to create the lxc, I run into a script issue: "unable to create CT 201 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/201/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2 bash: line 201: exit: A problem occured while trying to create container.: numeric argument required /dev/fd/63: line 840: failed: unbound variable" I see that the "build.func" was updated 28 minutes ago: "https://github.com/community-scripts/ProxmoxVE/commit/72335f2c4e90c45fc06ff6d80ca28a66e1c4c34b" Do the scripts get cached locally somewhere that I can clear? ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Step 1: Open node shell. Step 2: Paste the script: " bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/ubuntu.sh)" " Step 3: Go through Default/Advanced settings. Step 4: Select 'Yes' to create lxc. Step 5: Get error. ### ❌ Paste the full error output (if available). __ ____ __ / / / / /_ __ ______ / /___ __ / / / / __ \/ / / / __ \/ __/ / / / / /_/ / /_/ / /_/ / / / / /_/ /_/ / \____/_.___/\__,_/_/ /_/\__/\__,_/ 🧩 Using Advanced Settings on node pve 🖥️ Operating System: ubuntu 🌟 Version: 24.04 📦 Container Type: Unprivileged 🔐 Root Password: Automatic Login 🆔 Container ID: 201 🏠 Hostname: pterodactyl 💾 Disk Size: 100 GB 🧠 CPU Cores: 10 🛠️ RAM Size: 16384 MiB 🌉 Bridge: vmbr0 📡 IP Address: 192.168.2.201/24 🌐 Gateway IP Address: 192.168.1.1 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;os 🔑 Root SSH Access: no 🔍 Verbose Mode: no 🚀 Creating a Ubuntu LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ⠙unable to create CT 201 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/201/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2 bash: line 201: exit: A problem occured while trying to create container.: numeric argument required /dev/fd/63: line 840: failed: unbound variable ### 🖼️ Additional context (optional). _No response_
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 30, 2025):

You always have the same ct id? the latest chage has nothing to do with it, as lxc get created every minute as i see. The command is failing on your proxmox node somehow. can you restart it?

@michelroegl-brunner commented on GitHub (Jan 30, 2025): You always have the same ct id? the latest chage has nothing to do with it, as lxc get created every minute as i see. The command is failing on your proxmox node somehow. can you restart it?
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

Sure I will restart, and also try again with a different CT ID.

@JanPauw commented on GitHub (Jan 30, 2025): Sure I will restart, and also try again with a different CT ID.
Author
Owner

@MickLesk commented on GitHub (Jan 30, 2025):

Its an template issue, maybe orphaned lvm's or cracked old config (or an VM with the Same ID)

@MickLesk commented on GitHub (Jan 30, 2025): Its an template issue, maybe orphaned lvm's or cracked old config (or an VM with the Same ID)
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

Restarted and used a different CT ID:


/ / / / /_ __ ______ / /___ __
/ / / / __ / / / / __ / / / / /
/ // / // / // / / / / // // /
_
/./_,// //_/_,_/

🧩 Using Advanced Settings on node pve
🖥️ Operating System: ubuntu
🌟 Version: 24.04
📦 Container Type: Unprivileged
🔐 Root Password: Automatic Login
🆔 Container ID: 105
🏠 Hostname: pterodactyl
💾 Disk Size: 100 GB
🧠 CPU Cores: 10
🛠️ RAM Size: 16384 MiB
🌉 Bridge: vmbr0
📡 IP Address: 192.168.2.105/24
🌐 Gateway IP Address: 192.168.1.1
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;os
🔑 Root SSH Access: no
🔍 Verbose Mode: no
🚀 Creating a Ubuntu LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
⠹unable to create CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/'' failed: exit code 2
⠸bash: line 201: exit: A problem occured while trying to create container.: numeric argument required
/dev/fd/63: line 840: failed: unbound variable

@JanPauw commented on GitHub (Jan 30, 2025): Restarted and used a different CT ID: __ ____ __ / / / / /_ __ ______ / /___ __ / / / / __ \/ / / / __ \/ __/ / / / / /_/ / /_/ / /_/ / / / / /_/ /_/ / \____/_.___/\__,_/_/ /_/\__/\__,_/ 🧩 Using Advanced Settings on node pve 🖥️ Operating System: ubuntu 🌟 Version: 24.04 📦 Container Type: Unprivileged 🔐 Root Password: Automatic Login 🆔 Container ID: 105 🏠 Hostname: pterodactyl 💾 Disk Size: 100 GB 🧠 CPU Cores: 10 🛠️ RAM Size: 16384 MiB 🌉 Bridge: vmbr0 📡 IP Address: 192.168.2.105/24 🌐 Gateway IP Address: 192.168.1.1 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;os 🔑 Root SSH Access: no 🔍 Verbose Mode: no 🚀 Creating a Ubuntu LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ⠹unable to create CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2 ⠸bash: line 201: exit: A problem occured while trying to create container.: numeric argument required /dev/fd/63: line 840: failed: unbound variable
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

Its an template issue

You think I should clear the template cache?

@JanPauw commented on GitHub (Jan 30, 2025): > Its an template issue You think I should clear the template cache?
Author
Owner

@MickLesk commented on GitHub (Jan 30, 2025):

Try again in 2-5min, ive reverted Last commit. Looks Like an Ubuntu thing, i take a final Look tomorrow

@MickLesk commented on GitHub (Jan 30, 2025): Try again in 2-5min, ive reverted Last commit. Looks Like an Ubuntu thing, i take a final Look tomorrow
Author
Owner

@MickLesk commented on GitHub (Jan 30, 2025):

Works now

@MickLesk commented on GitHub (Jan 30, 2025): Works now
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

I just ran it again, and am getting a different issue:


/ / / / /_ __ ______ / /___ __
/ / / / __ / / / / __ / / / / /
/ // / // / // / / / / // // /
_
/./_,// //_/_,_/

🧩 Using Advanced Settings on node pve
🖥️ Operating System: ubuntu
🌟 Version: 24.04
📦 Container Type: Unprivileged
🔐 Root Password: Automatic Login
🆔 Container ID: 201
🏠 Hostname: pterodactyl
💾 Disk Size: 100 GB
🧠 CPU Cores: 10
🛠️ RAM Size: 16384 MiB
🌉 Bridge: vmbr0
📡 IP Address: 192.168.2.201/24
🌐 Gateway IP Address: 192.168.1.1
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;os
🔑 Root SSH Access: no
🔍 Verbose Mode: no
🚀 Creating a Ubuntu LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
⠙unable to create CT 201 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/201/rootfs --skip-old-files --anchored --exclude './dev/'' failed: exit code 2
bash: line 201: exit: A problem occured while trying to create container.: numeric argument required

@JanPauw commented on GitHub (Jan 30, 2025): I just ran it again, and am getting a different issue: __ ____ __ / / / / /_ __ ______ / /___ __ / / / / __ \/ / / / __ \/ __/ / / / / /_/ / /_/ / /_/ / / / / /_/ /_/ / \____/_.___/\__,_/_/ /_/\__/\__,_/ 🧩 Using Advanced Settings on node pve 🖥️ Operating System: ubuntu 🌟 Version: 24.04 📦 Container Type: Unprivileged 🔐 Root Password: Automatic Login 🆔 Container ID: 201 🏠 Hostname: pterodactyl 💾 Disk Size: 100 GB 🧠 CPU Cores: 10 🛠️ RAM Size: 16384 MiB 🌉 Bridge: vmbr0 📡 IP Address: 192.168.2.201/24 🌐 Gateway IP Address: 192.168.1.1 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;os 🔑 Root SSH Access: no 🔍 Verbose Mode: no 🚀 Creating a Ubuntu LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ⠙unable to create CT 201 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/201/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2 bash: line 201: exit: A problem occured while trying to create container.: numeric argument required
Author
Owner

@MickLesk commented on GitHub (Jan 30, 2025):

Run Default settings ?

@MickLesk commented on GitHub (Jan 30, 2025): Run Default settings ?
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

Same issue:


/ / / / /_ __ ______ / /___ __
/ / / / __ / / / / __ / / / / /
/ // / // / // / / / / // // /
_
/./_,// //_/_,_/

⚙️ Using Default Settings on node pve
🖥️ Operating System: ubuntu
🌟 Version: 24.04
📦 Container Type: Unprivileged
💾 Disk Size: 2 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 512 MiB
🆔 Container ID: 105
🚀 Creating a Ubuntu LXC using the above default settings

✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
⠙unable to create CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/'' failed: exit code 2
bash: line 201: exit: A problem occured while trying to create container.: numeric argument required

@JanPauw commented on GitHub (Jan 30, 2025): Same issue: __ ____ __ / / / / /_ __ ______ / /___ __ / / / / __ \/ / / / __ \/ __/ / / / / /_/ / /_/ / /_/ / / / / /_/ /_/ / \____/_.___/\__,_/_/ /_/\__/\__,_/ ⚙️ Using Default Settings on node pve 🖥️ Operating System: ubuntu 🌟 Version: 24.04 📦 Container Type: Unprivileged 💾 Disk Size: 2 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 512 MiB 🆔 Container ID: 105 🚀 Creating a Ubuntu LXC using the above default settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ⠙unable to create CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2 bash: line 201: exit: A problem occured while trying to create container.: numeric argument required
Author
Owner

@MickLesk commented on GitHub (Jan 30, 2025):

Your subui is broken on your node

nano /etc/subuid and /etc/subgid both need to contain root:100000:65536

@MickLesk commented on GitHub (Jan 30, 2025): Your subui is broken on your node nano /etc/subuid and /etc/subgid both need to contain root:100000:65536
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

Checked those files, and ran the Default Installation, I apologise for the formatiing at the end.
Looks like the failure breaks my cli formatting. I used "cat /etc/subuid" & "cat /etc/subgid":


/ / / / /_ __ ______ / /___ __
/ / / / __ / / / / __ / / / / /
/ // / // / // / / / / // // /
_
/./_,// //_/_,_/

⚙️ Using Default Settings on node pve
🖥️ Operating System: ubuntu
🌟 Version: 24.04
📦 Container Type: Unprivileged
💾 Disk Size: 2 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 512 MiB
🆔 Container ID: 105
🚀 Creating a Ubuntu LXC using the above default settings

✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
⠙unable to create CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/'' failed: exit code 2
bash: line 201: exit: A problem occured while trying to create container.: numeric argument required
⠙^C
/etc/subuidid
root:100000:65536
/etc/subgidid
root:100000:65536
⠋ot@pve:~#

@JanPauw commented on GitHub (Jan 30, 2025): Checked those files, and ran the Default Installation, I apologise for the formatiing at the end. Looks like the failure breaks my cli formatting. I used "cat /etc/subuid" & "cat /etc/subgid": __ ____ __ / / / / /_ __ ______ / /___ __ / / / / __ \/ / / / __ \/ __/ / / / / /_/ / /_/ / /_/ / / / / /_/ /_/ / \____/_.___/\__,_/_/ /_/\__/\__,_/ ⚙️ Using Default Settings on node pve 🖥️ Operating System: ubuntu 🌟 Version: 24.04 📦 Container Type: Unprivileged 💾 Disk Size: 2 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 512 MiB 🆔 Container ID: 105 🚀 Creating a Ubuntu LXC using the above default settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ⠙unable to create CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2 bash: line 201: exit: A problem occured while trying to create container.: numeric argument required ⠙^C /etc/subuidid root:100000:65536 /etc/subgidid root:100000:65536 ⠋ot@pve:~#
Author
Owner

@MickLesk commented on GitHub (Jan 30, 2025):

Cant Help you, its an issue with your Proxmox in the core. Do an full Update / Upgrade

@MickLesk commented on GitHub (Jan 30, 2025): Cant Help you, its an issue with your Proxmox in the core. Do an full Update / Upgrade
Author
Owner
@MickLesk commented on GitHub (Jan 30, 2025): https://github.com/community-scripts/ProxmoxVE/issues/340#issuecomment-2485216964
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

Thanks, will try that, I appreciate your time and help :)

@JanPauw commented on GitHub (Jan 30, 2025): Thanks, will try that, I appreciate your time and help :)
Author
Owner

@MickLesk commented on GitHub (Jan 30, 2025):

Other Scripts doesnt Work too?

@MickLesk commented on GitHub (Jan 30, 2025): Other Scripts doesnt Work too?
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

Other scripts worked fine, but they are all debian based, this is the frist time I wanted to try ubuntu lxc.

But I have deleted the "ubuntu-24.04-standard_24.04-2_amd64.tar.zst" from "/var/lib/vz/template/cache/" and the script ran fine.


/ / / / /_ __ ______ / /___ __
/ / / / __ / / / / __ / / / / /
/ // / // / // / / / / // // /
_
/./_,// //_/_,_/

🧩 Using Advanced Settings on node pve
🖥️ Operating System: ubuntu
🌟 Version: 24.04
📦 Container Type: Unprivileged
🔐 Root Password: Automatic Login
🆔 Container ID: 201
🏠 Hostname: pterodactyl
💾 Disk Size: 100 GB
🧠 CPU Cores: 10
🛠️ RAM Size: 16384 MiB
🌉 Bridge: vmbr0
📡 IP Address: 192.168.2.201/24
🌐 Gateway IP Address: 192.168.1.1
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: no
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;os
🔑 Root SSH Access: no
🔍 Verbose Mode: no
🚀 Creating a Ubuntu LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
✔️ Downloaded LXC Template
✔️ LXC Container 201 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.2.201
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 20.87.245.0
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Customized Container
✔️ Cleaned
✔️ Completed Successfully!

🚀 Ubuntu setup has been successfully initialized!
root@pve:~#

@JanPauw commented on GitHub (Jan 30, 2025): Other scripts worked fine, but they are all debian based, this is the frist time I wanted to try ubuntu lxc. But I have deleted the "ubuntu-24.04-standard_24.04-2_amd64.tar.zst" from "/var/lib/vz/template/cache/" and the script ran fine. __ ____ __ / / / / /_ __ ______ / /___ __ / / / / __ \/ / / / __ \/ __/ / / / / /_/ / /_/ / /_/ / / / / /_/ /_/ / \____/_.___/\__,_/_/ /_/\__/\__,_/ 🧩 Using Advanced Settings on node pve 🖥️ Operating System: ubuntu 🌟 Version: 24.04 📦 Container Type: Unprivileged 🔐 Root Password: Automatic Login 🆔 Container ID: 201 🏠 Hostname: pterodactyl 💾 Disk Size: 100 GB 🧠 CPU Cores: 10 🛠️ RAM Size: 16384 MiB 🌉 Bridge: vmbr0 📡 IP Address: 192.168.2.201/24 🌐 Gateway IP Address: 192.168.1.1 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: no ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;os 🔑 Root SSH Access: no 🔍 Verbose Mode: no 🚀 Creating a Ubuntu LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ Downloaded LXC Template ✔️ LXC Container 201 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.2.201 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 20.87.245.0 ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Customized Container ✔️ Cleaned ✔️ Completed Successfully! 🚀 Ubuntu setup has been successfully initialized! root@pve:~#
Author
Owner

@JanPauw commented on GitHub (Jan 30, 2025):

Once again I thank you :) I followed your suggestions from the other post:

#340 (comment)

@JanPauw commented on GitHub (Jan 30, 2025): Once again I thank you :) I followed your suggestions from the other post: > [#340 (comment)](https://github.com/community-scripts/ProxmoxVE/issues/340#issuecomment-2485216964)
Author
Owner

@MickLesk commented on GitHub (Jan 30, 2025):

Fine, closed.

@MickLesk commented on GitHub (Jan 30, 2025): Fine, closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#409