Scripting with curl – FUJITSU INTEGRATED REMOTE MANAGEMENT CONTROLLER IRMC S2/S3 User Manual
Page 421
iRMC S2/S3
421
Configuring the iRMC S2/S3 via SCCI and scripted configuration
12.2.2.2 Scripting with cURL
The open source command-line tool cURL allows you to transfer data specified
with URL syntax. You can download the latest version of the source code as well
as precompiled versions for different operating systems from
http://curl.haxx.se/
.
The following are some examples of how to use curl to send a configuration file
to the iRMC S2/S3.
I
For details on the curl command line options please refer to the curl
documentation.
–
HTTP Access with Basic Authentication (default) and the default
iRMC S2/S3 admin account:
curl --basic -u admin:admin --data @Config.pre
http://
–
HTTP Access with Digest Authentication and the default iRMC admin
account
curl --digest -u admin:admin --data @Config.pre
http://
–
HTTPS Access with no certificate check (-k) and Digest authentication and
the default iRMC admin account:
curl --digest -k -u admin:admin --data @Config.pre
https://
–
HTTPS Access with an LDAP user account.
Please note, that for LDAP users you have to specify Basic authentication
curl --basic -k -u LDAPuser:LDAPpassword --data @Config.pre
https://