Difference between revisions of "Piston: Uploading Images to the Piston Cloud"
Jump to navigation
Jump to search
(Created page with "* This script should take care of it * Assumes you have all the CLI tools installed as per: <syntaxhighlight> #!/bin/bash # everything taken from: https://openstack.redhat.com/Image_r...") |
|||
| Line 1: | Line 1: | ||
* This script should take care of it | * This script should take care of it | ||
| − | * Assumes you have all the CLI tools installed as per: | + | * Assumes you have all the CLI tools installed as per: http://wiki.bostonlabs.co.uk/w/index.php/Piston:_Access_using_the_CLI |
<syntaxhighlight> | <syntaxhighlight> | ||
Revision as of 22:21, 7 March 2015
- This script should take care of it
- Assumes you have all the CLI tools installed as per: http://wiki.bostonlabs.co.uk/w/index.php/Piston:_Access_using_the_CLI
#!/bin/bash
# everything taken from: https://openstack.redhat.com/Image_resources
# let in comments in case you want to download manually, windows 2012 r2
#wget 'http://www.cloudbase.it/euladownload.php?h=kvm'
wget http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.qcow2
wget http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2.xz
wget http://cloud.centos.org/centos/6/images/CentOS-6-x86_64-GenericCloud.qcow2.xz
wget https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
wget https://cloud-images.ubuntu.com/utopic/current/utopic-server-cloudimg-amd64-disk1.img
unxz CentOS-7-x86_64-GenericCloud.qcow2.xz
unxz CentOS-6-x86_64-GenericCloud.qcow2.xz
glance image-create --name "Fedora 21 Cloud Base" --disk-format qcow2 --container-format bare --is-public True --progress < Fedora-Cloud-Base-20141203-21.x86_64.qcow2
glance image-create --name "Centos 7 Generic Cloud" --disk-format qcow2 --container-format bare --is-public True --progress < CentOS-7-x86_64-GenericCloud.qcow2
glance image-create --name "Centos 6 Generic Cloud" --disk-format qcow2 --container-format bare --is-public True --progress < CentOS-6-x86_64-GenericCloud.qcow2
glance image-create --name "Ubuntu 14.04 LTS (trusty)" --disk-format qcow2 --container-format bare --is-public True --progress < trusty-server-cloudimg-amd64-disk1.img
glance image-create --name "Ubuntu 14.10 (utopic)" --disk-format qcow2 --container-format bare --is-public True --progress < utopic-server-cloudimg-amd64-disk1.img