User Tools

Site Tools


cloud:cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cloud:cli [2020/05/14 15:03] – [Images] chudlercloud:cli [2021/04/05 13:03] – [CONFIGURATION] chudler
Line 9: Line 9:
  
 Use a clouds.yaml file to direct your client. Below is a canonical example, but you __will__ have to modify the variables according to your account. Use a clouds.yaml file to direct your client. Below is a canonical example, but you __will__ have to modify the variables according to your account.
-''$HOME/.config/clouds.yaml''+''$HOME/.config/openstack/clouds.yaml''
 <code> <code>
 clouds: clouds:
Line 26: Line 26:
  
 You can also download a customized version of this data after you authenticate to the Web Interface (click API Access from the menu and then the button "Download Openstackrc File"). Make sure you read this file carefully in case you want to customize it. Your password is not included in the file by default. You can also download a customized version of this data after you authenticate to the Web Interface (click API Access from the menu and then the button "Download Openstackrc File"). Make sure you read this file carefully in case you want to customize it. Your password is not included in the file by default.
 +
 +For convenience, export the cloud name to your environment. Otherwise, all commands must include the flag ''--os-cloud=openstack'':
 +<code>
 +export OS_CLOUD=openstack 
 +</code>
  
 ====== USAGE ====== ====== USAGE ======
Line 59: Line 64:
  
 Openstack can hold a public key in its db, and insert it into instances when told. This is optional (your author does not use this capability) Openstack can hold a public key in its db, and insert it into instances when told. This is optional (your author does not use this capability)
-<code>openstack keypair create --public-key ~/.ssh/id_rsa.pub mykey</code>+<code>openstack keypair create --public-key ~/.ssh/id_ed25519.pub mykey</code>
  
 ==== Flavors ==== ==== Flavors ====
/var/lib/dokuwiki/data/pages/cloud/cli.txt · Last modified: 2021/04/15 16:53 by chudler

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki