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...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| 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 |
| − | + | * '''Notes''' (make sure you have ssh keys setup when booting images, password access not enabled | |
| + | ** Fedora: default user fedora | ||
| + | ** Ubuntu: default user ubuntu | ||
| + | ** Centos: default user centos | ||
| + | ** Windows (cloudbase): Administrator/password (then change on first login) | ||
<syntaxhighlight> | <syntaxhighlight> | ||
#!/bin/bash | #!/bin/bash | ||
# everything taken from: https://openstack.redhat.com/Image_resources | # everything taken from: https://openstack.redhat.com/Image_resources | ||
| − | # | + | # left in comments in case you want to download manually, windows 2012 r2 |
| − | # | + | # 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://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.qcow2 | ||
Latest revision as of 15:25, 10 April 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
- Notes (make sure you have ssh keys setup when booting images, password access not enabled
- Fedora: default user fedora
- Ubuntu: default user ubuntu
- Centos: default user centos
- Windows (cloudbase): Administrator/password (then change on first login)
#!/bin/bash
# everything taken from: https://openstack.redhat.com/Image_resources
# left in comments in case you want to download manually, windows 2012 r2
# 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