2025-03-14 21:59:59 -06:00
|
|
|
# bosh
|
|
|
|
|
|
|
|
|
|
> Strumento da linea di comando per distribuire e gestire director BOSH.
|
|
|
|
|
> Maggiori informazioni: <https://bosh.io/docs/cli-v2/>.
|
|
|
|
|
|
|
|
|
|
- Crea un alias locale per un director:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`bosh alias-env {{nome_ambiente}} {{[-e|--environment]}} {{indirizzo_ip|url}} --ca-cert {{certificato_ca}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Elenca ambienti:
|
|
|
|
|
|
|
|
|
|
`bosh environments`
|
|
|
|
|
|
|
|
|
|
- Esegui il login al director:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`bosh login {{[-e|--environment]}} {{ambiente}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Elenca deployment (distribuzioni):
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`bosh {{[-e|--environment]}} {{ambiente}} deployments`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Elenca le macchine virtuali in un ambiente:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`bosh {{[-e|--environment]}} {{ambiente}} vms {{[-d|--deployment]}} {{deployment}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Avvia una sessione SSH in una macchina virtuale:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`bosh {{[-e|--environment]}} {{ambiente}} ssh {{macchina_virtuale}} {{[-d|--deployment]}} {{deployment}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Carica una stemcell:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`bosh {{[-e|--environment]}} {{ambiente}} upload-stemcell {{file_stemcell|url}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Mostra la configurazione cloud attuale:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`bosh {{[-e|--environment]}} {{ambiente}} cloud-config`
|