![]() Now we edit cloud_config.yml and there we already have two long hashes, one for password and one even longer that is public key. ![]() We also need to add public key to this file that we got from dropbox earlier cat dropboxfile > cloud_config.yml Then we need to add password and create the config file sudo openssl passwd -1 > cloud_config.ymlĪfter this command enter your password and this password will show up in cloud_config.yml file in encrypted form. My place of choice will be Dropbox, so from my Thinkpad I will copy to dropbox like this: cat ~/.ssh/id_rsa.pub > ~/Dropbox/cloud-config.ymlĪfter copying it to Dropbox, good idea would be to shorten the url with tinyurl, because we will need to type that url manually in CoreOS.īack to CoreOS, we need to fetch this file with wget. This is needed because after install, only ssh login with public key will be allowed, and not with password. Moving to host computer, logged in as root, we need to take the public key and copy it to some place where our VM can fetch it with wget. Before the CoreOS can be installed, we need to make some preparations.
0 Comments
Leave a Reply. |