From: Holger Levsen Date: Wed, 12 Dec 2012 17:35:46 +0000 (+0100) Subject: put pserver2 into the filenames of teh files when deployed to riserver. Closes: DEVIN... X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=c9b121f94d5a09d8e994d104d411b16befc53e8f;p=profitbricks%2Fjenkins-build-scripts.git put pserver2 into the filenames of teh files when deployed to riserver. Closes: DEVINF-287 --- diff --git a/liveboot_testdeploy.sh b/liveboot_testdeploy.sh index 099410b..b2a12cf 100755 --- a/liveboot_testdeploy.sh +++ b/liveboot_testdeploy.sh @@ -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/" #