1. 鏡像上傳
glance image-create - -name vyatta_cts - -disk-format=qcow2 - -container-format=bare - -file=/home/vyatta_pyatta2.qcow2
1. 鏡像上傳
glance image-create - -name vyatta_cts - -disk-format=qcow2 - -container-format=bare - -file=/home/vyatta_pyatta2.qcow2
shell腳本獲取腳本所在目錄 執行腳本的父目錄不一定是當前的工作目錄。 url=$(dirname $(readlink -f $0))