WireGuard LXC - Alpine Edge #1323

Closed
opened 2025-11-20 05:08:14 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @xkpx64 on GitHub (Jun 22, 2025).

Have you read and understood the above guidelines?

yes

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

WireGuard

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-wireguard.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

📝 Provide a clear and concise description of the issue.

alpWireGuard:~# df /boot --output=size | tail -n 1
df: unrecognized option: output=size
BusyBox v1.37.0 (2025-05-26 20:04:45 UTC) multi-call binary.

🔄 Steps to reproduce the issue.

Clean install of alpine , updated to edge....

Paste the full error output (if available).

| | / ()______ ____ ___ ______ / /
| | /| / / / / _ / __ / / / / __ / / __ /
| |/ |/ / / / / __/ /
/ / /
/ / /
/ / / / /
/ /
|
/|__/
/
/ ___/_
, /_
,
/_
,
/
/ _
,
/
/____/
df: unrecognized option: output=size
BusyBox v1.37.0 (2025-05-26 20:04:45 UTC) multi-call binary.

Usage: df [-PkmhTai] [-B SIZE] [-t TYPE] [FILESYSTEM]...

Print filesystem usage statistics

    -P      POSIX output format
    -k      1024-byte blocks (default)
    -m      1M-byte blocks
    -h      Human readable (e.g. 1K 243M 2G)
    -T      Print filesystem type
    -t TYPE Print only mounts of this type
    -a      Show all filesystems
    -i      Inodes
    -B SIZE Blocksize

[ERROR] in line 893: exit code 0: while executing command total_size=$(df /boot --output=size | tail -n 1)

alpWireGuard:~# df /boot --output=size | tail -n 1
df: unrecognized option: output=size
BusyBox v1.37.0 (2025-05-26 20:04:45 UTC) multi-call binary.

Usage: df [-PkmhTai] [-B SIZE] [-t TYPE] [FILESYSTEM]...

Print filesystem usage statistics

    -P      POSIX output format
    -k      1024-byte blocks (default)
    -m      1M-byte blocks
    -h      Human readable (e.g. 1K 243M 2G)
    -T      Print filesystem type
    -t TYPE Print only mounts of this type
    -a      Show all filesystems
    -i      Inodes
    -B SIZE Blocksize

🖼️ Additional context (optional).

Why i'am doing clean install of alpine , because the main script set alpine DNS servers to some strange ones.
And my firewall is not allowing the machine to connect to other servers...

Originally created by @xkpx64 on GitHub (Jun 22, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? WireGuard ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-wireguard.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 📝 Provide a clear and concise description of the issue. alpWireGuard:~# df /boot --output=size | tail -n 1 df: unrecognized option: output=size BusyBox v1.37.0 (2025-05-26 20:04:45 UTC) multi-call binary. ### 🔄 Steps to reproduce the issue. Clean install of alpine , updated to edge.... ### ❌ Paste the full error output (if available). | | / (_)_______ ____ ___ ______ __________/ / | | /| / / / ___/ _ \/ __ `/ / / / __ `/ ___/ __ / | |/ |/ / / / / __/ /_/ / /_/ / /_/ / / / /_/ / |__/|__/_/_/ \___/\__, /\__,_/\__,_/_/ \__,_/ /____/ df: unrecognized option: output=size BusyBox v1.37.0 (2025-05-26 20:04:45 UTC) multi-call binary. Usage: df [-PkmhTai] [-B SIZE] [-t TYPE] [FILESYSTEM]... Print filesystem usage statistics -P POSIX output format -k 1024-byte blocks (default) -m 1M-byte blocks -h Human readable (e.g. 1K 243M 2G) -T Print filesystem type -t TYPE Print only mounts of this type -a Show all filesystems -i Inodes -B SIZE Blocksize [ERROR] in line 893: exit code 0: while executing command total_size=$(df /boot --output=size | tail -n 1) alpWireGuard:~# df /boot --output=size | tail -n 1 df: unrecognized option: output=size BusyBox v1.37.0 (2025-05-26 20:04:45 UTC) multi-call binary. Usage: df [-PkmhTai] [-B SIZE] [-t TYPE] [FILESYSTEM]... Print filesystem usage statistics -P POSIX output format -k 1024-byte blocks (default) -m 1M-byte blocks -h Human readable (e.g. 1K 243M 2G) -T Print filesystem type -t TYPE Print only mounts of this type -a Show all filesystems -i Inodes -B SIZE Blocksize ### 🖼️ Additional context (optional). Why i'am doing clean install of alpine , because the main script set alpine DNS servers to some strange ones. And my firewall is not allowing the machine to connect to other servers...
saavagebueno added the bug label 2025-11-20 05:08:14 -05:00
Author
Owner

@MickLesk commented on GitHub (Jun 22, 2025):

Heh? Where you get this Code? Its Not Part of the Script

@MickLesk commented on GitHub (Jun 22, 2025): Heh? Where you get this Code? Its Not Part of the Script
Author
Owner

@xkpx64 commented on GitHub (Jun 22, 2025):

https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func
here i got it line 893 function check_container_storage

@xkpx64 commented on GitHub (Jun 22, 2025): https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func here i got it line 893 function check_container_storage
Author
Owner

@MickLesk commented on GitHub (Jun 22, 2025):

But thats an function call & this function is not involved in the Script? Its only Part of Debian and Ubuntu updater

@MickLesk commented on GitHub (Jun 22, 2025): But thats an function call & this function is not involved in the Script? Its only Part of Debian and Ubuntu updater
Author
Owner

@xkpx64 commented on GitHub (Jun 22, 2025):

Sorry i apperantly was doing something funky, really strange on second run script runned well and worked.
Appologies!

@xkpx64 commented on GitHub (Jun 22, 2025): Sorry i apperantly was doing something funky, really strange on second run script runned well and worked. Appologies!
Author
Owner

@MickLesk commented on GitHub (Jun 22, 2025):

Do you have maybe Execute the Debian updater? 😅

@MickLesk commented on GitHub (Jun 22, 2025): Do you have maybe Execute the Debian updater? 😅
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1323