Q:创建镜像时提示URL相关错误一般有哪些方法?

admin | 2022-10-15 00:50


• ZStack允许输入的URL格式为:

  支持HTTP/HTTPS方式:

    ■ 填写格式为:http://path/file或https://path/file

    ■ 例如:http://cdn.zstack.io/product_downloads/images/zstack-image.qcow2

  支持FTP方式:

    ■ 匿名模式:ftp://hostname[:port]/path/file 例如:ftp://172.20.0.10/pub/zstack-image.qcow2

    ■ 非匿名模式:ftp://user:password@hostname[:port]/path/file 例如:ftp://zstack:password@172.20.0.10/pub/zstack-image.qcow2

  支持SFTP方式:

    ■ 指定密码模式:sftp://user:password@hostname[:port]/path/file

    例如:sftp://root:password@172.20.0.10/pub/zstack-image.qcow2

    ■ 免密模式:sftp://user@hostname[:port]/path/file

    例如:sftp://root@172.20.0.10/pub/zstack-image.qcow2

 镜像服务器上的路径,支持Sftp镜像服务器和镜像仓库

    例如:file:///opt/zstack-dvd/zstack-image-1.4.qcow2 

    注:

    • 建议用户创建一个http服务器来下载镜像。

    • 如果使用本地镜像,注意file后必须为路径。


最近文章

咨询

021-61733682

400-962-2212