From: Giuseppe Lettieri Date: Thu, 15 Nov 2012 12:05:23 +0000 (+0100) Subject: Use ssh key in scp, if set X-Git-Tag: sliver-openvswitch-1.9.90-1~1 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=9692591344248fca9abf4cbff54cf528ec4d9c9e Use ssh key in scp, if set Reported-by: Felician Nemeth --- diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index d1c9062d7..ec8787115 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -315,7 +315,7 @@ update-%: FORCE @[ -n "$(SLIVER_OVS)" ] || { echo "SLIVER_OVS not set" >&2; exit 1; } @[ -f "$(SLIVER_OVS)" ] || { echo "$(SLIVER_OVS) not found" >&2; exit 1; } @echo "Sending $(SLIVER_OVS) to $(call display,$*)" - @scp -q $(SLIVER_OVS) $(SLICE)@$(call solve,$*): + @scp $(SSH_KEY_OPTION) -q $(SLIVER_OVS) $(SLICE)@$(call solve,$*): @$(SSH) $(call solve,$*) $(SUDO) mv $(notdir $(SLIVER_OVS)) /usr/sbin/sliver-ovs .SECONDEXPANSION: