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
heat_template_version: 2013-05-23 | |
description: HOT template to deploy an emerginov compact machine | |
parameters: | |
password: | |
type: string | |
description: SSH password | |
resources: |
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 | |
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"] |
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
#!/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 | |
# |
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
# physical-nodes.yaml | |
--- | |
infra::nodes: | |
allinone98: | |
ip: 192.168.1.98 | |
bridge_uplinks: | |
- "br-ex:eth0" | |
- "br-vm:eth3" |
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
# config.yaml | |
--- | |
### | |
## DNS | |
### | |
dns::external: | |
- 8.8.8.8 | |
- 8.8.4.4 | |
dns::internal: "%{hiera('infra::dns')}" |