Skip to content

Instantly share code, notes, and snippets.

View larsks's full-sized avatar

Lars Kellogg-Stedman larsks

View GitHub Profile
@larsks
larsks / -
Created February 7, 2014 16:09
#include
http://myserver.example.com/somescript.sh
http://myserver.example.com/cloud-config.cfg
@larsks
larsks / -
Created February 8, 2014 16:22
-- MySQL dump 10.14 Distrib 5.5.34-MariaDB, for Linux (x86_64)
--
-- Host: localhost Database: nova
-- ------------------------------------------------------
-- Server version 5.5.34-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@larsks
larsks / -
Created February 11, 2014 22:25
<domain type='kvm' id='2'>
<name>instance-00000107</name>
<uuid>dcd55d01-e3f5-4500-a90f-d93c364f3f96</uuid>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>1</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<sysinfo type='smbios'>
<interface type="bridge">
<mac address="fa:16:3e:1c:5f:f7"/>
<source bridge="qbrd7db2948-2d"/>
<target dev="tapd7db2948-2d"/>
<model type="virtio"/>
<alias name="net0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
</interface>
<network>
<name>default</name>
<uuid>b538bcfd-a020-4c22-9963-251e0a2a183a</uuid>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='0' />
<mac address='52:54:00:f0:cc:96'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254' />
</dhcp>
{
"access": {
"metadata": {
"roles": [
"b993c0ef7fe84b54b255f6a08452e5db"
],
"is_admin": 0
},
"user": {
"name": "admin",
sed -i '/\.py$/ d' neutron.egg-info/SOURCES.txt
find neutron quantum -name '*.py' -print >> neutron.egg-info/SOURCES.txt
+----------+----------------------------------+
| Property | Value |
+----------+----------------------------------+
| email | test@test.com |
| enabled | True |
| id | b5af9a5a366c46949ec79c36398d4dc7 |
| name | admin |
| tenantId | 8d4c9ad440fb455f885eb2f288ef788e |
+----------+----------------------------------+
# A list of available outputs
$ heat output-list stack0
+----------------------+----------------------------------------------------+
| output_key | description |
+----------------------+----------------------------------------------------+
| instance1_private_ip | IP address of instance0 in private network |
| instance0_public_ip | Floating IP address of instance0 in public network |
| instance0_private_ip | IP address of instance0 in private network |
+----------------------+----------------------------------------------------+

This is a test:

  • here is a literal word.