Macos client with community-scripts

hi everyone,

i currently have IncusOS installed on dedicated hardware and im using MacOS as a client via the terminal. My quiestion is. How do i utilize the scripts from community-scripts.org ?

where and how do i use the: bash -c “$(curl -fsSL https://raw.githubusercontent.com/community-scripts/Incus/main/ct/apache-guacamole.sh)”

?

it feels like im missing something obvious.

thanks.

Hi again?

The scripts need a Linux shell with bash, whiptail and apt, so they can’t run on IncusOS (no shell) or on macOS. But they don’t have to run on the host - the engine always targets your incus client’s default remote, so a small Linux box is enough:

# on a Debian/Ubuntu machine or VM
apt install -y incus-client whiptail curl
incus remote add incusos <server-ip> # paste the token from: incus config trust add
incus remote switch incusos
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/Incus/main/ct/apache-guacamole.sh)"

Everything is then created on the IncusOS host over the API. Check with incus remote get-default before you start — whatever that prints is where the container lands.

I completed this very API integration two weeks ago, and it has been thoroughly tested by a user.

P.S.: I just typed this quickly on my mobile phone; I hope the formatting looks okay.

thank you. i will try that

some guys on our discord use an very minimal alpine vm or container as “jump host”, may this can be the solution for you?

i find it odd that the documentation doesnt mention this incompatibility when using macOS as a client.

Documentation of what, and where? If it’s GitHub - community-scripts/Incus: Incus Helper-Scripts (Community Edition) - One-command installs for containers, VMs and self-hosted apps. · GitHub or https://community-scripts.org/ you’re talking about, then best to raise your issue with them.

I note that for Proxmox VE, they require you to paste the scripts into a root shell on a Proxmox node, rather than going through the Proxmox API.

An “incus host” is always a Linux host, but they might not have considered that you want to run the scripts on a remote client (or you must, in the case of incusOS).

You can get bash for macOS from Homebrew, but not whiptail AFAICS.