X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=f7add422922fe11de7a4007830e58c7d2c82cf32;hb=3a2a07818ad1b9a374a7ec78e8c4573a043dc338;hp=1d6a0fdd67ef9b0b5f6af0709cc0c69cc275d555;hpb=2eb0e04f35300baecc8df0312d4541d4078e43cc;p=bootmanager.git diff --git a/Makefile b/Makefile index 1d6a0fd..f7add42 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ SSHCOMMAND:=ssh root@$(PLC) else ifdef PLCHOSTLXC SSHURL:=root@$(PLCHOSTLXC):/vservers/$(GUESTNAME) -SSHCOMMAND:=ssh root@$(PLCHOSTLXC) virsh -c lxc:/// lxc-enter-namespace $(GUESTNAME) -- /usr/bin/env +SSHCOMMAND:=ssh root@$(PLCHOSTLXC) ssh -o StrictHostKeyChecking=no -o LogLevel=quiet $(GUESTHOSTNAME) else ifdef PLCHOSTVS SSHURL:=root@$(PLCHOSTVS):/vservers/$(GUESTNAME) @@ -47,6 +47,17 @@ endif ########## tags: - find . -type f | egrep -v 'TAGS|DIFF|/\.svn/|\.git/|~$$' | xargs etags + git ls-files | xargs etags .PHONY: tags + +########## +# this one is for overwriting the code in /tmp/source on a node +# that is in debug mode +ifndef NODE +debugmode: + echo run make debugmode NODE=a-real-ple-node +else +debugmode: + rsync -av -e 'ssh -i /Users/parmentelat/.ssh/ple_debug.rsa' ./source/ root@$(NODE):/tmp/source/ +endif