diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-03-16 14:53:35 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-03-16 14:53:35 +0800 |
commit | 33f598fd9e4e9715ce30f8aaeff4f87f2078aa5c (patch) | |
tree | e24d65030d573d10807b856bd89a14dc4149e3f5 /code/install_interface_patch.sh | |
parent | d355d53f3cd33fb7ea0790c8b6deba0d70fa2ce4 (diff) |
download and pack cirros image into opnfv.bin
In daisy-build job, download and pack cirros 0.3.5 image into daisy
image file. Then post-deploy script can use it as a glance image.
It will locate in /var/lib/daisy/images/ on daisy server.
Change-Id: I1bf67c32bd245b43dd50974076daaca04721bc11
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'code/install_interface_patch.sh')
-rwxr-xr-x | code/install_interface_patch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/code/install_interface_patch.sh b/code/install_interface_patch.sh index d1806e00..1a0fa73f 100755 --- a/code/install_interface_patch.sh +++ b/code/install_interface_patch.sh @@ -22,3 +22,5 @@ if [ ! -e "$imagedir/registry-server.tar" ];then fi cp CentOS*.iso /var/lib/daisy/kolla +mkdir -p /var/lib/daisy/images/ +cp cirros*.img /var/lib/daisy/images/ |