]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
put pserver2 into the filenames of teh files when deployed to riserver. Closes: DEVIN...
authorHolger Levsen <holger@layer-acht.org>
Wed, 12 Dec 2012 17:35:46 +0000 (18:35 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 12 Dec 2012 17:35:46 +0000 (18:35 +0100)
liveboot_testdeploy.sh

index 099410bcc3557ed0e28f5dd09e5def3010450e32..b2a12cf44bc22256612ae7fd0f9bcd571cc67d76 100755 (executable)
@@ -52,10 +52,10 @@ fi
 ### command="/bin/cp ${SSH_ORIGINAL_COMMAND#* }",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,from="192.168.178.17"
 ### thanks to http://larstobi.blogspot.de/2011/01/restrict-ssh-access-to-one-command-but.html
 ###
-ssh liveboot@riserver cp -v $SOURCE_DIR/vmlinuz $TFTP_TARGET/
-ssh liveboot@riserver cp -v $SOURCE_DIR/initramfs.cpio.gz $TFTP_TARGET/
+ssh liveboot@riserver cp -v $SOURCE_DIR/vmlinuz $TFTP_TARGET/pserver2_vmlinuz
+ssh liveboot@riserver cp -v $SOURCE_DIR/initramfs.cpio.gz $TFTP_TARGET/pserver2_initramfs.cpio.gz
 echo "Ok, copied vmlinuz and initramfs.cpio.gz from $SOURCE_DIR to riserver:$TFTP_TARGET/"
-ssh liveboot@riserver cp -v $SOURCE_DIR/root.tar.xz $HTTP_TARGET/
+ssh liveboot@riserver cp -v $SOURCE_DIR/root.tar.xz $HTTP_TARGET/pserver2_root.tar.xz
 echo "Ok, copied root.tar.xz from $SOURCE_DIR to riserver:$HTTP_TARGET/"
 
 #