ucloud-host can not be started by using hostname

This commit is contained in:
ahmadbilalkhalid 2019-11-12 11:50:41 +05:00
commit e37222c1c7
4 changed files with 40 additions and 18 deletions

View file

@ -12,6 +12,7 @@ Welcome to ucloud's documentation!
introduction/introduction
introduction/installation
introduction/usage
Indices and tables
==================

View file

@ -184,17 +184,3 @@ profile e.g *~/.profile*
alias uotp='cd /root/uotp/ && pipenv run python app.py'
and run :code:`source ~/.profile`
Running ucloud
~~~~~~~~~~~~~~
.. code-block:: sh
ucloud api
We need to create a host by executing the following command
.. code-block:: sh

View file

@ -0,0 +1,35 @@
Usage
=====
Start API
----------
.. code-block:: sh
ucloud api
Host Creation
-------------
Currently, we don't have any host (that runs virtual machines).
So, we need to create it by executing the following command
.. code-block:: sh
ucloud-cli host create --hostname ungleich.ch --cpu 32 --ram '32GB' --os-ssd '32GB'
You should see something like the following
.. code-block:: json
{
"message": "Host Created"
}
Start Scheduler
---------------
.. code-block:: sh
ucloud scheduler