脚本

softlayer virtual machine vhd磁盘镜像导入shell脚本_上传

测试上传;

softlayer virtual machine vhd磁盘镜像导入shell脚本_上传_02

softlayer virtual machine vhd磁盘镜像导入shell脚本_上传_03

2048+0 records in

2048+0 records out

2147483648 bytes (2.1 GB) copied, 44.2262 s, 48.6 MB/s

curl: option --data-binary: out of memory

curl: try 'curl --help' or 'curl --manual' for more information

286+1 records in

286+1 records out

300497408 bytes (300 MB) copied, 7.88299 s, 38.1 MB/s

curl: (3) <url> malformed

curl: (3) <url> malformed

[Note tip]使用这个shell scripts时需保证你的主机上的内存充足, 至少>2500M;否则会报上没的curl ....  out of memory;