kahkhang / kube-linode

:whale: Provision a Kubernetes/CoreOS cluster on Linode
MIT License
212 stars 31 forks source link

WIP: Add command line argument for custom SSH key #97

Closed janmashat closed 6 years ago

janmashat commented 6 years ago

Partially solves: #73

Code review and testing needed.

janmashat commented 6 years ago

This doesn't seem to work properly so I'm closing it.

Instead, I'm setting a custom ssh key by doing:

#!/bin/sh

SRCKEY=~/.ssh/id_rsa_kube
DSTKEY=~/.ssh/id_rsa

cp -f $SRCKEY $DSTKEY
cp -f $SRCKEY.pub $DSTKEY.pub