...
Code Block | ||
---|---|---|
| ||
#!/bin/bash echo "variables $1 $2" ssh admin@<<OCRKit.appliance.name>> "/Applications/OCRKit\ Pro.app/Contents/MacOS/OCRKit\ Pro --format text --output $1 $2" |
- Make sure in "commands.conf" file of auto-deploy client specific repository, the following commands are added to the nuxeo container definition (under section
"elif [ ${1} = "NUXEO" ] then"
) so as to be added the container run command.:
Code Block |
---|
add_volume "/var/data<storage_path>/nuxeo/ssh" "/home/nuxeo/.ssh" add_volume "/var/data<storage_path>/nuxeo/scripts/ocrKit" "/usr/bin/ocrKit" |
Questions:
- known_hosts file in /<storagepath>/nuxeo/.ssh/? If it not exists, ocrKit script will ask if we should add key to that file in interactive mode. This will break all the automation. Added entry to the setup.
Are paths in 4 hard coded paths in nuxeo container? - yes - Is path /usr/bin/ocrKit hard coded nuxeo container? - it's just default PATH for every (almost?) linux machine
- Anything missing ?