Skip to content

PE-8984: symlink scw into /usr/local/bin - #741

Open
Yogeshwar-Pawade wants to merge 1 commit into
mainfrom
PE-8984
Open

PE-8984: symlink scw into /usr/local/bin#741
Yogeshwar-Pawade wants to merge 1 commit into
mainfrom
PE-8984

Conversation

@Yogeshwar-Pawade

@Yogeshwar-Pawade Yogeshwar-Pawade commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

scw now ships inside the stylus package at /opt/spectrocloud/bin/scw, which is not on the default PATH. Link it into /usr/local/bin so operators can run scw triage cluster directly, matching how agent-provider-stylus, palette-tui and helm are already handled.

/usr/local is the persistent partition mounted over the image, so the link cannot be baked in — it has to be recreated wherever that partition is established.

Changes

File Change
custom-postreset.yaml ln -sf …/scw /usr/local/bin/scw in the post-reset and UKI post-reset stanzas
cloud-images/workaround/custom-post-reset.yaml same two stanzas
cloudconfigs/80_stylus_uki.yaml same link in the UKI boot stanza

3 files, +5.

No build change: CanvOS consumes the published stylus framework image, which is FROM package, so the binary arrives on its own.

Pairs with spectrocloud/stylus#6277.

Refs: PE-8984

scw now ships inside the stylus package at /opt/spectrocloud/bin/scw, which is
not on the default PATH. Link it into /usr/local/bin so operators can run
"scw triage cluster" directly, matching how agent-provider-stylus, palette-tui
and helm are already handled.

/usr/local is the persistent partition and is mounted over the image, so the
link cannot be baked in — it has to be recreated wherever that partition is
established: after reset (standard and UKI install paths) and on UKI boot.

No build change is needed here. canvos consumes the published stylus framework
image, which is FROM package, so the binary arrives on its own.

Refs: PE-8984
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant