Beryl::CLI::Vrack
beryl vrack <host> [--attach] : interroge l'API OVH pour savoir si le
serveur d'un host est dans un vRack, et le rattache avec --attach.
beryl vrack han.example.net # statut seulement beryl vrack han.example.net --attach # essai à blanc beryl vrack han.example.net --attach --apply # rattache (task async + suivi) beryl vrack han.example.net --attach --vrack pn-12345 --apply beryl vrack han.example.net --via=zgra [--apply] # rôle d'accès SSH imposé beryl vrack han.example.net --public | --bastion [--apply]
Constants
Class methods
Dérive la chaîne proxy_jump <user>@<bastion-fqdn> depuis le nom (court
OU FQDN) du bastion et le domaine du host caché. Pur.
Dérive le /24 d'une IP (ex. 192.168.42.31 → 192.168.42.0/24). Pur.
Retire key: du bloc vrack: (et le bloc s'il devient vide).
No-op si absent. Retourne le nouveau contenu.