Permalink
Browse files

keep couchdb-init on the local fs

  • Loading branch information...
jchris committed Nov 28, 2009
1 parent b09fece commit 62db5b3f9e09c7918a3ce209691883059561d93d
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/remote/create-couchdb-image-remote
@@ -61,7 +61,8 @@ rm /etc/apache2/sites-enabled/*
mv /mnt/makeami/couchdb_vhost.conf /etc/apache2/sites-enabled/
# Do configuration on instance startup
-echo "/mnt/makeami/couchdb-init" >> /etc/init.d/rc.local
+mv /mnt/makeami/couchdb-init /usr/local/etc/couchdb-init
+echo "/usr/local/etc/couchdb-init" >> /etc/init.d/rc.local
# Delete SSH authorized_keys since it includes the key it was launched with. (Note that it is re-populated when an instance starts.)
rm -f /home/$USER/.ssh/authorized_keys

0 comments on commit 62db5b3

Please sign in to comment.