Skip to content

Instantly share code, notes, and snippets.

View arnaudmorinol's full-sized avatar

Arnaud Morin Old Account arnaudmorinol

View GitHub Profile
heat_template_version: 2013-05-23
description: HOT template to deploy an emerginov compact machine
parameters:
password:
type: string
description: SSH password
resources:
#cloud-config
password: moutarde
chpasswd: { expire: False }
ssh_pwauth: True
hostname: compact
fqdn: dev.opensteak.fr
manage_etc_hosts: false
runcmd:
- [ sh, -c, "hostname compact"]
- [ sh, -c, "ip a l eth0 |grep ' inet ' | awk '{print $2}' | awk -F '/' '{print $1}'>/tmp/ip"]
#!/bin/bash
##--------------------------------------------------------
# Copyright 2014 - 2015 Orange
#
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# physical-nodes.yaml
---
infra::nodes:
allinone98:
ip: 192.168.1.98
bridge_uplinks:
- "br-ex:eth0"
- "br-vm:eth3"
@arnaudmorinol
arnaudmorinol / common.yaml
Last active August 29, 2015 14:17
Stack2 config file
# config.yaml
---
###
## DNS
###
dns::external:
- 8.8.8.8
- 8.8.4.4
dns::internal: "%{hiera('infra::dns')}"