Projet

Général

Profil

OSC » Historique » Version 2

« Précédent - Version 2/17 (diff) - Suivant » - Version actuelle
Klaas TJEBBES, 15/01/2016 11:02


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/