@@ -13,7 +13,7 @@ system).
13
13
14
14
Below you will find usage examples for both library and CLI. These examples
15
15
suppose that you already have a ComodIT account. If it is not yet the case, do
16
- not hesitate to [ register] ( https://my.comodit.com/ ) , it's free .
16
+ not hesitate to [ register] ( https://my.comodit.com/ ) .
17
17
18
18
19
19
# Install
@@ -44,26 +44,28 @@ not hesitate to [register](https://my.comodit.com/), it's free.
44
44
45
45
## From repository
46
46
47
+ ### Install dependencies
48
+
49
+ $ pip install pycurl future six progressbar
50
+
47
51
### Fedora/CentOS Users
48
52
49
53
1 . Add ComodIT repository by executing the following command:
50
54
51
- - On CentOS 7 ` rpm -ivh http://dl.comodit.com/pub/centos/7 /x86_64/comodit-release-7-0.el7 .noarch.rpm `
52
- - On Fedora 28: ` rpm -ivh http://dl.comodit.com/pub/fedora/28 /x86_64/comodit-release-1 -0.fc28 .noarch.rpm `
55
+ - On EL8 (RHEL, Rocky Linux, Alma Linux, ...) ` rpm -ivh http://dl.comodit.com/pub/el/8 /x86_64/comodit-release-2-1.el8 .noarch.rpm `
56
+ - On Fedora 36 ` rpm -ivh http://dl.comodit.com/pub/fedora/36 /x86_64/comodit-release-2 -0.fc36 .noarch.rpm `
53
57
54
- 2 . Install client with command ` yum install comodit-client` .
58
+ 2 . Install client with command ` dnf install python3- comodit-client` .
55
59
56
60
### Ubuntu/Debian Users
57
61
58
62
1 . Add ComodIT repository by executing the following command:
59
63
60
- cat <<EOF > /etc/apt/sources.list.d/comodit.list
61
- deb http://dl.comodit.com/pub debian-stretch main
62
- EOF
64
+ echo "deb http://dl.comodit.com/pub $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/comodit.list
63
65
64
66
2 . Install repository key:
65
67
66
- wget http://dl.comodit.com/pub/dists/ comodit.asc -O /tmp/key; apt-key add /tmp/key; rm -f /tmp/key
68
+ wget http://dl.comodit.com/pub/comodit.asc -O /tmp/key; apt-key add /tmp/key; rm -f /tmp/key
67
69
68
70
3 . Install client with command ` apt-get update; apt-get install comodit-client ` .
69
71
@@ -81,8 +83,11 @@ not hesitate to [register](https://my.comodit.com/), it's free.
81
83
vnc_viewer_call = vinagre %h:%p
82
84
83
85
2 . Run the following command to check that everything works (you should see the list of organizations you have access to)
84
-
85
- $ comodit organizations list
86
+
87
+ # Without MFA
88
+ $ comodit organizations listc
89
+ # With MFA
90
+ $ comodit organizations list --mfa XXXXXX
86
91
87
92
For more information, read below sections and/or the man page:
88
93
0 commit comments