This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup for multi-node system with glance as storage backend | |
echo "gridcentric_use_image_service=true" | sudo tee -a /etc/nova/nova.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
runcmd: | |
- [ touch, /tmp/alive ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup for multi-node system with glance as storage backend | |
echo "gridcentric_use_image_service=true" | sudo tee -a /etc/nova/nova.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Generates a new machine account with the given password. | |
.DESCRIPTION | |
Generates a new machine account in active directory with the given password. | |
This cmdlet is useful for creating machine accounts for Gridcentric Live Images. | |
.PARAMETER Name | |
Name for the machine account to create. Must be exactly 15 characters. | |
.PARAMETER Password | |
The plain-text password to set for the machine account. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nova list | |
+--------------------------------------+---------------------+-----------+-----------------------+ | |
| ID | Name | Status | Networks | | |
+--------------------------------------+---------------------+-----------+-----------------------+ | |
| 76c9f4eb-0111-409a-8e88-e5eb2d5c850e | lm-test | MIGRATING | internal=X.X.X.X | | |
+--------------------------------------+---------------------+-----------+-----------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put your download key here: | |
export GC_KEY=xxxxxxxxxxxxxxxxxxxxxx | |
wget -O setup.sh https://gist.github.com/gcgists/6693644/raw/setup.sh | |
chmod a+x setup.sh | |
sudo ./setup.sh $GC_KEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://downloads.gridcentriclabs.com/packages/$GCKEY/dist/vms.iso | |
md5sum vms.iso | |
wget --quiet -O - http://downloads.gridcentriclabs.com/packages/$GCKEY/dist/vms.iso.md5 | |
# Compare both md5 outputs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xe-install-supplemental-pack /root/vms.iso | |
# Follow prompts. Reboot after a successfull install | |
[ $? ] && reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://downloads.gridcentriclabs.com/packages/$GCKEY/vms.zip | |
unzip vms.zip | |
# Ensure checksums match | |
cat vms.iso.md5 | |
md5sum vms.iso | |
xe-install-supplemental-pack $PWD/vms.iso | |
# Follow prompts. Reboot after a successfull install | |
[ $? ] && reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo | sudo tee -a /etc/nova/nova.conf <<EOF | |
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions | |
osapi_compute_extension=veta.extension.Veta_extension | |
EOF | |
sudo restart nova-api |
OlderNewer