Projet

Général

Profil

OSC » Historique » Version 1

Version 1/17 - Suivant » - Version actuelle
Klaas TJEBBES, 15/01/2016 11:01


OSC

Installer python-gevent et python-websocket
aptitude install -y python-gevent
aptitude install -y python-websocket

Télécharger le script et le rendre exécutable :
wget https://raw.githubusercontent.com/baby-gnu/one-sunstone-rest-client/master/osc
chmod +x osc

Créer le fichier d'authentification
mkdir ~/.one/
vi ~/.one/one_auth

Contenu du fichier ~/.one/one_auth :
<LOGIN_NEBULA>:<PASSWORD_NEBULA>

Exécuter la commande :
python osc --url http://one.eole.lan/