PE-8984: symlink scw into /usr/local/bin - #741
Open
Yogeshwar-Pawade wants to merge 1 commit into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scwnow ships inside the stylus package at/opt/spectrocloud/bin/scw, which is not on the defaultPATH. Link it into/usr/local/binso operators can runscw triage clusterdirectly, matching howagent-provider-stylus,palette-tuiandhelmare already handled./usr/localis 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
custom-postreset.yamlln -sf …/scw /usr/local/bin/scwin the post-reset and UKI post-reset stanzascloud-images/workaround/custom-post-reset.yamlcloudconfigs/80_stylus_uki.yaml3 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