Skip to content

Instantly share code, notes, and snippets.

$ nova backup-schedule-add test 1h 1d
+------------+------------------+-------------------+--------+
| ID | Frequency | Retention | Active |
+------------+------------------+-------------------+--------+
| b-s64bz49p | Every 10 minutes | For the last hour | True |
| b-0eseoaea | Every hour | For the last day | True |
+------------+------------------+-------------------+--------+
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
@gcgists
gcgists / quickstart_single_step.sh
Last active December 23, 2015 20:59 — forked from andreslagarcavilla/setup.sh
wget setup to the right file
# 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
<#
.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.
# Setup for multi-node system with glance as storage backend
echo "gridcentric_use_image_service=true" | sudo tee -a /etc/nova/nova.conf
#cloud-config
runcmd:
- [ touch, /tmp/alive ]
# Setup for multi-node system with glance as storage backend
echo "gridcentric_use_image_service=true" | sudo tee -a /etc/nova/nova.conf