From c9b121f94d5a09d8e994d104d411b16befc53e8f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 12 Dec 2012 18:35:46 +0100 Subject: [PATCH] put pserver2 into the filenames of teh files when deployed to riserver. Closes: DEVINF-287 --- liveboot_testdeploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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/" # -- 2.39.5