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 / merged_templates.json
Last active August 10, 2021 07:47
trying out some cue.
{
"version": "2",
"templates": [
{
"categories": [
"Other"
],
"description": "AdGuard Home is a network-wide software for blocking ads \u0026 tracking. After you set it up, it’ll cover ALL your home devices, and you don’t need any client-side software for that. With the rise of Internet-Of-Things and connected devices, it becomes more and more important to be able to control your whole network.",
"env": [
{

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 8D26 FB7D F0E6 F1A2 FE15 7C89 EC42 E718 BB32 51B0

To claim this, I am signing this object:

#cloud-config
# Auto install RancherOS on the first disk (we're assuming there is nothing you want to keep), and use the existing kernel params.
write_files:
- path: /opt/install
permissions: "0755"
content: |
#!/bin/sh
set -ex
echo "running" > /var/log/ros-install.log
system-docker exec console ros install -i rancher/os:v1.0.2 -d $(partprobe -s | head -n1 | cut -d : -f0) --append "$(cat /proc/cmdline)" -f --debug >> /var/log/install.log 2>&1
#!/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
#!/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

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:

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
@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