-
Notifications
You must be signed in to change notification settings - Fork 70
Getting Started
Rohit Yadav edited this page Jun 26, 2018
·
12 revisions
The default server profile has the name localcloud
with defaults (such as url and credentials) set to a locally running CloudStack server. Start cmk
, create a new server profile, configure your CloudStack server's API endpoint and run sync
, for example:
$ cmk
Loaded in-built API cache. Failed to read API cache, please run 'sync'.
Apache CloudStack π΅ cloudmonkey 6.x.y
Type "help" for details, "sync" to update API cache or press tab to list options
Report issues here: https://github.com/apache/cloudstack-cloudmonkey/issues
(localcloud) π± > set profile mycloud
Loaded server profile: mycloud
Url: http://localhost:8080/client/api
Username: admin
Domain: /
API Key:
(mycloud) π± > set url http://myprovider.cloud/client/api
(mycloud) π± > login
β Username: myusername
β Password: **************
β Domain: mydomain
Successfully logged in and saved credentials to the server profile.
(mycloud) π± > sync
β£ πΊ discovering APIs, please wait...
You can also use the set
command to set the various server profile specific options. The cloudmonkey configuration is stored at ~/.cmk/config
file, the ~/.cmk
directory also contains the API cache and history files.