gunnar: utils/ec2 ec2-init-dev-instance.sh, 1.1, 1.2 ec2.config, 1.1, 1.2

cvs at kolab.org cvs at kolab.org
Thu Jan 22 20:54:10 CET 2009


Author: gunnar

Update of /kolabrepository/utils/ec2
In directory doto:/tmp/cvs-serv4670

Modified Files:
	ec2-init-dev-instance.sh ec2.config 
Log Message:
Ensure we also copy the known SSH hosts.

Index: ec2-init-dev-instance.sh
===================================================================
RCS file: /kolabrepository/utils/ec2/ec2-init-dev-instance.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ec2-init-dev-instance.sh	22 Jan 2009 19:49:48 -0000	1.1
+++ ec2-init-dev-instance.sh	22 Jan 2009 19:54:08 -0000	1.2
@@ -108,6 +108,10 @@
     scp -i ${SSH_KEY}.pem ${SSH_CONFIG} root@${FQDN}:~/.ssh
 fi
 
+if [ "x${SSH_KNOWN_HOSTS}" != "x" ]; then
+    scp -i ${SSH_KEY}.pem ${SSH_KNOWN_HOSTS} root@${FQDN}:~/.ssh
+fi
+
 ssh -A -i ${SSH_KEY}.pem root@${FQDN} "mkdir /CVS"
 ssh -A -i ${SSH_KEY}.pem root@${FQDN} "cd /CVS && cvs -d ${CVS_SERVER} co server"
 ssh -A -i ${SSH_KEY}.pem root@${FQDN} "cd /CVS && cvs -d ${CVS_SERVER} co utils"

Index: ec2.config
===================================================================
RCS file: /kolabrepository/utils/ec2/ec2.config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ec2.config	22 Jan 2009 19:49:48 -0000	1.1
+++ ec2.config	22 Jan 2009 19:54:08 -0000	1.2
@@ -69,10 +69,11 @@
 SSH_KEY=kolab
 
 ####
-# Path to your SSH configuration file. If set it will be copied over
-# to the new instance.
+# Path to your SSH configuration files. If set they will be copied
+# over to the new instance.
 
 SSH_CONFIG=""
+SSH_KNOWN_HOSTS=""
 
 ####
 # Location of the Kolab source repository





More information about the commits mailing list