Dear all,<div><br></div><div>From /var/lib/one/remotes/tm/ssh directory, it has a clone script which is used to transfer the source VM image to the destination host for VM creation through ssh/scp. Under this script, I found that it will check the $SRC whether it has "http" and use wget to get the image. Where in SunStone or oneadmin command to create a image repository as a Web server? I think that wget is more efficient and faster than ssh/scp.</div>
<div><br></div><div>Thanks!</div><div><br></div><div><div>case $SRC in</div><div>http://*)</div><div> log "Downloading $SRC"</div><div> RMT_CMD="$WGET -O $DST_PATH $SRC"</div><div> ssh_exec_and_log "$DST_HOST" "$RMT_CMD" "Error downloading $SRC"</div>
<div> ;;</div><div><br></div><div>*)</div><div> log "Cloning $SRC in $DST_PATH"</div><div> exec_and_log "$SCP -r $SRC $DST" "Error copying $SRC to $DST"</div><div> ;;</div><div>esac</div>
</div><div><br></div><div><br></div>