Skip to content

Instantly share code, notes, and snippets.

View SvenDowideit's full-sized avatar
🤓
Back to reading code, wincing, and wishing it wasn't how it was.

Sven Dowideit SvenDowideit

🤓
Back to reading code, wincing, and wishing it wasn't how it was.
View GitHub Profile
@SvenDowideit
SvenDowideit / commercial oss oops
Created June 22, 2011 08:11
commercial open source oops
OK, so this does not work either. I am setting this to confirmed and low priority. If you sponsor or otherwise support the XXXXXX community you will likely get a fast turnaround, if not you depend on whether community members are inclined to help or not. (Personally I focus on companies that either bring business or contribute back to the open source XXXX project. Your place or work does neither.)
-- TXXXXXXXXXXXXXy - 2011-06-2
@SvenDowideit
SvenDowideit / gist:2818813
Created May 28, 2012 12:07
a Rexify task that uses Rex::Box to deploy and configure a vm.
#!rex -wT
use strict;
use warnings;
use Rex::Box;
use Rex::Commands::SCM;
use Rex::Commands::Pkg;
@SvenDowideit
SvenDowideit / udoo_docker
Created October 21, 2013 11:47
playing around with my udoo quad on my sick weekend
ala http://kencochrane.net/blog/2013/05/running-docker-on-a-raspberrypi/
apt-get install git
darn;
root@imx6-qsdl:/data# git clone https://github.com/UDOOboard/Kernel_Unico.git
Cloning into Kernel_Unico...
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none w
hile accessing https://github.com/UDOOboard/Kernel_Unico.git/info/refs
@SvenDowideit
SvenDowideit / udoo-linux.txt
Created December 17, 2013 10:51
udoo build & boot instructions: from #udoo <stintel> SvenDowideit: http://www.linux-ipv6.be/UDOO/ <stintel> SvenDowideit: but I think if you pull linux-next from git you can build without patches even
Build Linux 3.13-rc? for UDOO.
DISCLAIMER: I cannot be held responsible for any damage this might cause to either your brain, hardware, relationship, children, pets, ...
git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
cd linux
git remote add linaro-shawnguo git://git.linaro.org/people/shawnguo/linux-2.6.git
git fetch linaro-shawnguo
git branch udoo
git merge linaro-shawnguo/for-next
rootfs / rootfs rw,relatime,size=7280088k,nr_inodes=1008156 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
tmpfs /dev/shm tmpfs rw,relatime 0 0
cgroup /cgroup cgroup rw,relatime,perf_event,blkio,freezer,devices,cpuacct,cpu,cpuset 0 0
none /dev/mqueue mqueue rw,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
/dev/sda1 /mnt/sda1 ext4 rw,relatime,data=ordered 0 0
none /mnt/sda1/var/lib/docker/aufs/mnt/9995b0641a7f74bf0e589ca16ab85470b9c4488ca78207cb8bfb7aa057a0d146 aufs rw,relatime,si=a82be8156cfdd114 0 0

Keybase proof

I hereby claim:

  • I am SvenDowideit on github.
  • I am svendowideit (https://keybase.io/svendowideit) on keybase.
  • I have a public key whose fingerprint is 7F00 2534 C062 FD65 6BE7 904F 3C0C 33BB 442B 5BE9

To claim this, I am signing this object:

#!/bin/bash
# get the kernel and initrd
ROS_VERSION="v0.9.2-rc4"
URL_BASE="https://github.com/rancher/os/releases/download/${ROS_VERSION}"
VMLINUX="vmlinuz-4.9.21-rancher"
INITRD="initrd-v0.9.2-rc4"
cd /tmp
echo "downloading ${URL_BASE}/${VMLINUX}" > /dev/kmsg
#!ipxe
dhcp
set base-url https://github.com/rancher/os/releases/download/v0.9.2-rc4
kernel ${base-url}/vmlinuz-4.9.21-rancher printk.devkmsg=on rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait console=tty0 rancher.state.mdadm_scan console=ttyS1,115200n8 rancher.autologin=ttyS1 rancher.cloud_init.datasources=[packet] rancher.network.interfaces.eth*.dhcp=true rancher.environment.installer=true
initrd ${base-url}/initrd-v0.9.2-rc4
boot
#!/bin/bash
# get the kernel and initrd
ROS_VERSION="v0.9.2-rc4"
URL_BASE="https://github.com/rancher/os/releases/download/${ROS_VERSION}"
VMLINUX="vmlinuz-4.9.21-rancher"
INITRD="initrd-v0.9.2-rc4"
cd /tmp
echo "downloading ${URL_BASE}/${VMLINUX}" > /dev/kmsg
#!/bin/bash
# get the kernel and initrd
ROS_VERSION="v0.9.2-statedir"
URL_BASE="https://github.com/rancher/os/releases/download/${ROS_VERSION}"
VMLINUX="vmlinuz-4.9.21-statedir"
INITRD="initrd-v0.9.2-statedir"
cd /tmp
echo "downloading ${URL_BASE}/${VMLINUX}" > /dev/kmsg