Use ssh key in scp, if set
authorGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Thu, 15 Nov 2012 12:05:23 +0000 (13:05 +0100)
committerGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Fri, 23 Nov 2012 12:47:12 +0000 (13:47 +0100)
Reported-by: Felician Nemeth <nemethf@tmit.bme.hu>
planetlab/exp-tool/Makefile

index d1c9062..ec87871 100644 (file)
@@ -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: