Add Proxmox LXC instructions to bootstrap token screen
When Pulse runs in Docker inside a Proxmox LXC container, users need specific instructions to retrieve the bootstrap token. Added pct exec and pct enter commands to the Docker instructions section. Now shows three scenarios: 1. Direct Docker host: docker exec 2. Kubernetes: kubectl exec 3. Proxmox LXC with Docker: pct exec / pct enter This makes first-time setup easier for users deploying Pulse in LXC containers on Proxmox.
This commit is contained in:
parent
ec2bd8daf6
commit
f64344d1da
1 changed files with 8 additions and 4 deletions
|
|
@ -319,18 +319,22 @@ IMPORTANT: Keep these credentials secure!
|
|||
>
|
||||
<div class="bg-white dark:bg-gray-800 rounded p-3 font-mono text-xs text-gray-800 dark:text-gray-200">
|
||||
<Show when={isDocker()}>
|
||||
<div class="text-blue-600 dark:text-blue-400 mb-1"># From container host:</div>
|
||||
<div class="text-blue-600 dark:text-blue-400 mb-1"># From Docker host:</div>
|
||||
docker exec <container-name> cat {bootstrapTokenPath()}
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or kubectl for Kubernetes:</div>
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># For Kubernetes:</div>
|
||||
kubectl exec <pod-name> -- cat {bootstrapTokenPath()}
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or exec into the container:</div>
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># For Proxmox LXC running Docker:</div>
|
||||
pct exec <ctid> -- docker exec <container-name> cat {bootstrapTokenPath()}
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or enter the LXC container first:</div>
|
||||
pct enter <ctid>
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-1 mb-1"># Then inside LXC:</div>
|
||||
</Show>
|
||||
<Show when={!isDocker() && bootstrapTokenPath() === '/etc/pulse/.bootstrap_token'}>
|
||||
<div class="text-blue-600 dark:text-blue-400 mb-1"># For Proxmox LXC, run from Proxmox host:</div>
|
||||
pct enter <ctid>
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or directly retrieve:</div>
|
||||
pct exec <ctid> -- cat {bootstrapTokenPath()}
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or from inside the container:</div>
|
||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or from inside the LXC container:</div>
|
||||
</Show>
|
||||
cat {bootstrapTokenPath()}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue