mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-11-09 17:06:13 -06:00
- add missing syntaxes - don't put prompt if no command outputs to ease copy/paste and use `sh` syntax - always use `$` as prompt and use `console` syntax
1.4 KiB
1.4 KiB
xo-import-servers-csv
CLI to import servers in XO from a CSV file
Install
Installation of the npm package:
npm install --global xo-import-servers-csv
Usage
servers.csv:
host,username,password
xs1.company.net,user1,password1
xs2.company.net:8080,user2,password2
http://xs3.company.net,user3,password3
The CSV file can also contains these optional fields:
label,autoConnect,allowUnauthorized.
Shell command:
> xo-import-servers-csv 'https://xo.company.tld' admin@admin.net admin < servers.csv
Contributions
Contributions are very welcomed, either on the documentation or on the code.
You may:
- report any issue you've encountered;
- fork and create a pull request.