This is an automated email from the ASF dual-hosted git repository.

bhaisaab pushed a commit to branch debian9-systemvmtemplate
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 6ae7e28148239f91a20d57d73c2b576b809bcd80
Author: Rohit Yadav <rohit.ya...@shapeblue.com>
AuthorDate: Fri Nov 17 14:53:57 2017 +0530

    remove unknown ssh key
    
    Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
---
 tools/appliance/definitions/systemvmtemplate/authorized_keys.sh | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/tools/appliance/definitions/systemvmtemplate/authorized_keys.sh 
b/tools/appliance/definitions/systemvmtemplate/authorized_keys.sh
index d185723..721e04d 100644
--- a/tools/appliance/definitions/systemvmtemplate/authorized_keys.sh
+++ b/tools/appliance/definitions/systemvmtemplate/authorized_keys.sh
@@ -16,15 +16,10 @@
 # specific language governing permissions and limitations
 # under the License.
 
-# override this file during build to inject /root/.ssh/authorized_keys
-
 set -e
 set -x
 
-# the key that we have in ../patches/debian/config/root/.ssh/authorized_keys 
for some reason
-key='ssh-rsa 
AAAAB3NzaC1yc2EAAAABIwAAAQEAvFu3MLSPphFRBR1yM7nBukXWS9gPdAXfqq9cfC8ZqQN9ybi531aj44CybZ4BVT4kLfzbAs7+7nJeSIpPHxjv9XFqbxjIxoFeGYkj7s0RrJgtsEmvAAubZ3mYboUAYUivMgnJFLnv4VqyAbpjix6CfECUiU4ygwo24F3F6bAmhl4Vo1R5TSUdDIX876YePJTFtuVkLl4lu/+xw1QRWrgaSFosGICT37IKY7RjE79Ozb0GjNHyJPPgVAGkUVO4LawroL9dYOBlzdHpmqqA9Kc44oQBpvcU7s1+ezRTt7fZNnP7TG9ninZtrvnP4qmwAc4iUJ7N1bwh0mCblnoTfZ28hw==
 anthony@mobl-ant'
 mkdir -p /root/.ssh
 chmod 644 /root/.ssh
-#touch /root/.ssh/authorized_keys
-echo ${key}  > /root/.ssh/authorized_keys
+touch /root/.ssh/authorized_keys
 chmod 600 /root/.ssh/authorized_keys

-- 
To stop receiving notification emails like this one, please contact
"commits@cloudstack.apache.org" <commits@cloudstack.apache.org>.

Reply via email to