This file contains hidden or 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
3 node | |
# master | |
docker pull cockpit/kubernetes | |
docker pull openshift/node:latest | |
docker pull openshift/openvswitch:latest | |
docker pull openshift/origin-deployer:latest | |
docker pull openshift/origin-docker-registry:latest | |
docker pull openshift/origin-haproxy-router:latest | |
docker pull openshift/origin-pod:latest | |
docker pull openshift/origin:latest |
This file contains hidden or 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
# Class: roundcube::install | |
# | |
# Install the Roundcube software package. | |
# | |
# === Copyright | |
# | |
# Copyright 2015 Martin Meinhold, unless otherwise noted. | |
# | |
class roundcube::install inherits roundcube { |
This file contains hidden or 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
*************************************** | |
* U-Boot 1.1.4-8fd728b0-dirty * | |
* Jul 22 2016, 22:56:25 * | |
*************************************** | |
BOARD: TP-Link TL-MR3020 | |
SOC: AR9330 rev. 1 | |
CPU: MIPS 24Kc | |
RAM: 32 MB DDR1 16-bit CL3-3-3-8 | |
FLASH: 16 MB Winbond W25Q128 |
This file contains hidden or 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
Requirements: | |
Winbond W25Q128FV (or other compatible chip, see pepe2k's uboot readme) | |
SPI Programmer (ie a Revelprog IS) | |
Serial Console (ie a CP2102) | |
HEX editor (ie Bless) | |
32bit vm to compile pepe2k's uboot | |
tftp server | |
Note: I already had pepe2k's uboot + LEDE r930 flashed on the original 4MiB flash chip. I assume I made a mistake with the data partition due to already having pepe2k's uboot installed. More is explained later on. |
This file contains hidden or 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
diff --git a/Makefile b/Makefile | |
index 17b2b6c..9cf8d36 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -17,7 +17,10 @@ CROSS_COMPILE = mips-openwrt-linux-musl- | |
endif | |
export CROSS_COMPILE | |
-export MAKECMD=make --silent --no-print-directory ARCH=mips | |
+export TOOLPATH=$(BUILD_TOPDIR)/../OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2 |
This file contains hidden or 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 | |
# based on https://forum.openwrt.org/viewtopic.php?pid=304522#p304522 | |
v=mr3020 sizeorig=4 sizenew=16 | |
cp -v ~/u-boot_mod/bin/uboot_for_tp-link_tl-mr3020.bin . | |
cp -v /vagrant/flash_dump ./${v}.bin | |
mkdir -vp out ${v}.orig |
This file contains hidden or 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
root@lede:/# cat /proc/mtd | |
dev: size erasesize name | |
mtd0: 00020000 00010000 "u-boot" | |
mtd1: 0014e2c0 00010000 "kernel" | |
mtd2: 00281d40 00010000 "rootfs" | |
mtd3: 000a0000 00010000 "rootfs_data" | |
mtd4: 00010000 00010000 "art" | |
mtd5: 003d0000 00010000 "firmware" |
This file contains hidden or 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 | |
cd /tmp | |
apt-get update && apt-get install puppet vim git -y | |
puppet module install theforeman-foreman --modulepath . | |
puppet module install theforeman-foreman_proxy --modulepath . | |
puppet module install theforeman-puppet --modulepath . | |
puppet module install hunner-hiera --modulepath . | |
puppet module install zack/r10k --modulepath . | |
cat > install.pp <<EOF | |
class { '::puppet': server => true } |
This file contains hidden or 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
###### ###### | |
## Configure R10k ## | |
###### ###### | |
## This manifest requires the zack/R10k module and will attempt to | |
## configure R10k according to my blog post on directory environments. | |
## Beware! (and good luck!) | |
## http://garylarizza.com/blog/2014/02/18/puppet-workflow-part-3/ | |
## version should correspond to the Gem version zack-r10k is tested against: |
This file contains hidden or 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 | |
cd /tmp | |
apt-get update && apt-get install puppet vim git -y | |
puppet module install puppetlabs-stdlib --modulepath . | |
git clone -b develop https://github.com/furhouse/puppet-libvirt.git libvirt | |
wget https://gist.githubusercontent.com/furhouse/e013df015ac522794473/raw/3b1be287f4d0df939f6198afb5af3db78e149001/libvirt.pp | |
puppet apply --modulepath . libvirt.pp |
NewerOlder