Skip to content

Instantly share code, notes, and snippets.

View cbrune's full-sized avatar
🚀
Working on something new

Curt Brune cbrune

🚀
Working on something new
View GitHub Profile
@cbrune
cbrune / gist:b809959115aa8ed8d3b4a053743824e1
Created December 18, 2017 04:12
debian-iso console output
ONIE:/ # onie-nos-install http://10.0.2.2/onie/debian-jessie-amd64-mini-ONIE.bin
discover: Rescue mode detected. No discover stopped.
Info: Attempting http://10.0.2.2/onie/debian-jessie-amd64-mini-ONIE.bin ...
Connecting to 10.0.2.2 (10.0.2.2:80)
installer 100% |*******************************| 17871k 0:00:00 ETA
ONIE: Executing installer: http://10.0.2.2/onie/debian-jessie-amd64-mini-ONIE.bin
Verifying image checksum ... OK.
Preparing image archive ... OK.
Loading new kernel ...
my_load:667: do

I hereby claim:

  • I am cbrune on github.
  • I am cmb (https://keybase.io/cmb) on keybase.
  • I have a public key ASABd4Yt1QXXJ4AHGme4yYbubYkKytxjtot1lSUQ2EjWUAo

To claim this, I am signing this object:

{
@cbrune
cbrune / xorriso-options.cfg
Created April 10, 2015 17:12
xorriso options file
#-------------------------------------------------------------------------------
#
# Copyright (C) 2015 Curt Brune <curt@cumulusnetworks.com>
#
# SPDX-License-Identifier: GPL-2.0
#
#-------------------------------------------------------------------------------
# Configuration options for xorriso(1)
#
@cbrune
cbrune / mk-iso.sh
Last active August 29, 2015 14:18
ISO creation helper script
#!/bin/sh
#-------------------------------------------------------------------------------
#
# Copyright (C) 2015 Curt Brune <curt@cumulusnetworks.com>
#
# SPDX-License-Identifier: GPL-2.0
#
#-------------------------------------------------------------------------------
#
@cbrune
cbrune / gist:60bf91177ab85a58dd4e
Created October 6, 2014 17:21
ONIE verbose example: onie_verbose=y
The "fake installer" contents:
==============================
#!/bin/sh
echo "Hello"
echo "---- export ----"
export
echo "---- set ----"
set
#!/usr/bin/python
import socket
from BaseHTTPServer import HTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
class MyHandler(SimpleHTTPRequestHandler):
def do_GET(self):
print "Headers: "
print self.headers