Hey,

just a hint when developing on the new node ui and how to get the code
quickly onto your running node.
On your host/devel machine in your ovirt-node repo:

$ cd scripts/tui/src
$ sudo iptables -I INPUT -m tcp -p tcp --dport 8080 -j ACCEPT
$ python -m SimpleHTTPServer 8080

Now, each time you change the code significantly:
$ tar cvjf tui.tar.bz2 $(find . -name \*.py)

To get this dump inside of your Node run:
$ mount -oremount,rw /
$ cd /usr/lib/python/site-packages/
$ curl $HOSTIP:8080/tui.tar.bz2 | tar xvfj -

Repeat this each time you created a new tarball on your host.

You can now login to node on a second terminal to test the code changes.


Greetings
fabian

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
node-devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-devel

Reply via email to