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
<?php | |
echo "#!ipxe\n"; | |
$install = true; | |
$server_ip = "192.168.1.1"; | |
$proxy = "http_proxy=http://192.168.1.1:8080"; | |
$kickstart = "ubuntu-12.04-LTS.ks" | |
if ($install) { | |
//default to ubuntu live system | |
?> |
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
!ipxe | |
set ipxe-ip 10.X.Y.Z | |
set base-url http://${ipxe-ip} | |
set preseed http://${ipxe-ip} | |
set http-proxy http://${ipxe-ip}:3142 | |
set nic eth2 | |
set use-cached 1 | |
dhcp net1 | |
echo mac...............: ${net1/mac} | |
echo ip................: ${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 | |
# Yazz Building KVM images | |
ubuntu="quantal" | |
name=(bm-installer) # Just add more seperated by a space to build | |
domain="example.com" | |
nic="eth0" | |
location="http://us.archive.ubuntu.com/ubuntu/dists/${ubuntu}/main/installer-amd64/" | |
preseed="http://192.168.41.89/preseed.cfg" | |
vm_disks="$HOME/kvm" |
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
##### Primary configuration settings ##### | |
file_roots: | |
base: | |
- /srv/salt/state/base | |
dbaas_aw2_az1: | |
- /srv/salt/state/env/aw2_az1 | |
dbaas_aw2_az2: | |
- /srv/salt/state/env/aw2_az2 | |
dbaas_aw2_az3: | |
- /srv/salt/state/env/aw2_az3 |
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
percona_preseed_require: | |
pkg.latest: | |
- pkgs: | |
- debconf-utils | |
preseed_mysql_password_1: | |
debconf.set_file: | |
- source: salt://percona_galera/templates/preseed.answers | |
- require: | |
- pkg: percona_preseed_require |
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
#include <SoftwareSerial.h> | |
#define CARD_CODE_LENGTH 10 | |
const int ledPin = 2; | |
const int doorLock = 4; | |
const int txPin = 6; | |
const int rxPin = 8; | |
int byteRead = 0; | |
int bytesRead = 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
#!/bin/bash | |
# | |
# Copyright 2014 Hewlett-Packard Development Company, L.P. | |
# All Rights Reserved. | |
# Authored by Yazz D. Atlas <[email protected]> | |
# | |
# 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 | |
# |
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
$ vagrant-loop "lsb_release -a" | |
#--- minion-01 | |
No LSB modules are available. | |
Distributor ID: Debian | |
Description: Debian GNU/Linux 7.8 (wheezy) | |
Release: 7.8 | |
Codename: wheezy | |
Connection to 127.0.0.1 closed. | |
#--- minion-02 | |
No LSB modules are available. |
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
{ | |
"variables": { | |
"version": "{{env `CLOUD_VER`}}", | |
"cloud_user": "{{env `CLOUD_USER`}}", | |
"cloud_token": "{{env `CLOUD_TOKEN`}}", | |
"atlas_token": "{{env `ATLAS_TOKEN`}}", | |
"push_name": "entropyworks/ubuntu-stable-atg-amd64", | |
"os_codename": "ubuntu-stable", | |
"arch": "amd64", | |
"release" "14.04" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'virtualbox' | |
# Require YAML module so we can use yaml for doing the configuation | |
require 'yaml' |
OlderNewer