Skip to content
This repository was archived by the owner on Nov 8, 2019. It is now read-only.

Commit f28a682

Browse files
author
Javier Perez-Griffo
authored
Merge pull request #22 from ingrammicro/feature/change-default-path
Update of default path for IMCO cli
2 parents e857b5e + 245cc9e commit f28a682

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Extract the contents with your zip compressor of choice and continue using the s
9191

9292
## Linux and OSX
9393
### Configuration
94-
Concerto configuration will usually be located in your personal folder under `.concerto`. If you are using root, concerto will look for contiguration files under `/etc/concerto`.
94+
Concerto configuration will usually be located in your personal folder under `.concerto`. If you are using root, concerto will look for contiguration files under `/etc/imco`.
9595
We will assume that you are not root, so create the folder and drop the certificates to this location:
9696
```
9797
$ mkdir -p ~/.concerto/ssl/
@@ -181,7 +181,7 @@ If you got an error executing concerto CLI:
181181
- check that your internet connection can reach clients.concerto.io
182182
- make sure that your firewall lets you access to https://clients.concerto.io:886
183183
- check that client.xml is pointing to the correct certificates location
184-
- if concerto executes but only shows server commands, you are probably trying to use concerto from a commissioned server, and the configuration is being read from `/etc/concerto`. If that's the case, you should leave concerto configuration untouched so that server commands are available for our remote management.
184+
- if concerto executes but only shows server commands, you are probably trying to use concerto from a commissioned server, and the configuration is being read from `/etc/imco`. If that's the case, you should leave concerto configuration untouched so that server commands are available for our remote management.
185185

186186

187187
# Usage

utils/config.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ import (
2020
"github.com/mitchellh/go-homedir"
2121
)
2222

23-
const windowsServerConfigFile = "c:\\concerto\\client.xml"
24-
const nixServerConfigFile = "/etc/concerto/client.xml"
23+
const windowsServerConfigFile = "c:\\imco\\client.xml"
24+
const nixServerConfigFile = "/etc/imco/client.xml"
2525
const defaultConcertoEndpoint = "https://clients.concerto.io:886/"
2626

27-
const windowsServerLogFilePath = "c:\\concerto\\log\\concerto-client.log"
28-
const windowsServerCaCertPath = "c:\\concerto\\client_ssl\\ca_cert.pem"
29-
const windowsServerCertPath = "c:\\concerto\\client_ssl\\cert.pem"
30-
const windowsServerKeyPath = "c:\\concerto\\client_ssl\\private\\key.pem"
27+
const windowsServerLogFilePath = "c:\\imco\\log\\concerto-client.log"
28+
const windowsServerCaCertPath = "c:\\imco\\client_ssl\\ca_cert.pem"
29+
const windowsServerCertPath = "c:\\imco\\client_ssl\\cert.pem"
30+
const windowsServerKeyPath = "c:\\imco\\client_ssl\\private\\key.pem"
3131
const nixServerLogFilePath = "/var/log/concerto-client.log"
32-
const nixServerCaCertPath = "/etc/concerto/client_ssl/ca_cert.pem"
33-
const nixServerCertPath = "/etc/concerto/client_ssl/cert.pem"
34-
const nixServerKeyPath = "/etc/concerto/client_ssl/private/key.pem"
32+
const nixServerCaCertPath = "/etc/imco/client_ssl/ca_cert.pem"
33+
const nixServerCertPath = "/etc/imco/client_ssl/cert.pem"
34+
const nixServerKeyPath = "/etc/imco/client_ssl/private/key.pem"
3535

3636
// Config stores configuration file contents
3737
type Config struct {

0 commit comments

Comments
 (0)