Drop last --token hint; note sudo drops DRB_ENROLLMENT_TOKEN (node-26#18)
- key_pickup.py still told operators to re-run install.sh with --token. - `curl | sudo bash` resets the env, so the documented exported-token path needs `sudo --preserve-env=DRB_ENROLLMENT_TOKEN`; say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4dff9cbab6
commit
c4b4cb92c9
@@ -50,7 +50,7 @@ async def fetch_api_key() -> Optional[str]:
|
||||
if r.status_code == 401:
|
||||
logger.error(
|
||||
"Key pickup: C2 rejected the saved pickup secret (401) — it was rotated by a re-enroll elsewhere. "
|
||||
"Re-run install.sh with --token to recover."
|
||||
"Re-run install.sh and give it a fresh enrollment token when it asks (node-26#18)."
|
||||
)
|
||||
return None
|
||||
if r.status_code == 404:
|
||||
|
||||
Reference in New Issue
Block a user