Changeset 385
- Timestamp:
- 07/04/2009 15:55:47 (3 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
confman.conf.5.in (modified) (1 diff)
-
confman.conf.sample.in (modified) (1 diff)
-
confmanlib.sh.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/confman.conf.5.in
r366 r385 97 97 The export style to be used by 98 98 .Xr confexport 8 . Valid options are: repository, module, recipe. 99 .It CONF_FETCH_SSH_KEY 100 This is a private SSH keyfile for use with "sftp://" and "scp://" URIs above. 101 .It CONF_FETCH_SSH_FLAGS 102 This options allows you to specify custom parameters to the 103 .Xr ssh 1 104 client for 105 .Cm confsync . 99 106 .It CONF_SSH_KEY 100 This is a private SSH keyfile for use with "sftp://" and "scp://" URIs above. 107 This option is deprecated and will be removed in a future release. See 108 CONF_FETCH_SSH_KEY. 101 109 .El 102 110 .Ss MISCELLANEOUS OPTIONS -
trunk/confman.conf.sample.in
r329 r385 25 25 CONF_EXPORT_FILE="@localstatedir@/db/confman/export.tgz" 26 26 CONF_EXPORT_URI="scp://confman@${REPO_HOSTNAME}${CONF_EXPORT_FILE}" 27 CONF_SSH_KEY="/root/.ssh/id_rsa" 27 CONF_FETCH_SSH_KEY="/root/.ssh/id_rsa" 28 #CONF_FETCH_SSH_FLAGS="-o StrictHostKeyCHecking=no" 28 29 -
trunk/confmanlib.sh.in
r384 r385 221 221 remote="${CONF_EXPORT_URI#*://}" 222 222 remote="${remote/\//:/}" 223 scp -p -i ${CONF_SSH_KEY} -o StrictHostKeyCHecking=no \ 224 "$remote$file" $tmpfile 223 224 # XXX: Remove for confman-3.0 225 if [ -z "$CONF_FETCH_SSH_KEY" ] && [ -n "$CONF_SSH_KEY" ] ; then 226 CONF_FETCH_SSH_KEY="$CONF_SSH_KEY" 227 conf_warn "CONF_SSH_KEY is deprecated. Please define " \ 228 "CONF_FETCH_SSH_KEY instead." 229 fi 230 231 scp -p -i ${CONF_FETCH_SSH_KEY} ${CONF_FETCH_SSH_FLAGS} \ 232 "$remote$file" $tmpfile 225 233 ;; 226 234 http|https|ftp)
Note: See TracChangeset
for help on using the changeset viewer.
