ALT Linux Bugzilla
– Attachment 2458 Details for
Bug 14697
Инсталятор не поддерживает установку с ftp сервера если нужен логин и пароль
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Добавляет логин и пароль в случае копирования по ftp метаданных
installer-4.0-add_login_and_pass_for_ftp.patch (text/plain), 719 bytes, created by
Slava Dubrovskiy
on 2008-02-29 00:14:01 MSK
(
hide
)
Description:
Добавляет логин и пароль в случае копирования по ftp метаданных
Filename:
MIME Type:
Creator:
Slava Dubrovskiy
Created:
2008-02-29 00:14:01 MSK
Size:
719 bytes
patch
obsolete
>--- cp-metadata.org 2008-02-22 15:57:55 +0200 >+++ cp-metadata 2008-02-28 23:03:13 +0200 >@@ -5,6 +5,12 @@ > METHOD="${METHOD:-cdrom}" > HOST="${HOST:-}" > PREFIX="${PREFIX:-}" >+LOGIN="${LOGIN:-}" >+PASSWORD="${PASSWORD:-}" >+if [ -n "$PASSWORD" ]; then >+ PASSWORD=$(echo ":$PASSWORD") >+fi >+ > > image_prefix= > curl_args="-s -S --retry 5 --retry-delay 2" >@@ -25,10 +31,14 @@ get_local_metadata() { > > > case "$METHOD" in >- http|ftp) >+ http) > image_prefix="$METHOD://$HOST$PREFIX" > get_remote_metadata "$1" > ;; >+ ftp) >+ image_prefix="$METHOD://$LOGIN$PASSWORD@$HOST$PREFIX" >+ get_remote_metadata "$1" >+ ;; > cdrom|disk|nfs) > image_prefix="$image_dir" > get_local_metadata "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14697
:
2458
|
2465
|
2477
|
2478