Skip to content

Instantly share code, notes, and snippets.

View magiconair's full-sized avatar

Frank Schröder magiconair

View GitHub Profile
#!/bin/bash
#
# Script for bringing up an N node consul cluster
# on the local machine on different ports.
#
# The first node is listening on the default ports
# so that the command line tool works.
#
# Examples:
#
root@swi-mdm9x15:~# logread
Jul 17 09:41:32 swi-mdm9x15 syslog.info syslogd started: BusyBox v1.22.1
Jul 17 09:41:32 swi-mdm9x15 user.notice kernel: klogd started: BusyBox v1.22.1 (2017-11-29 20:34:56 PST)
Jul 17 09:41:32 swi-mdm9x15 user.warn kernel: [ 0.000000] Kernel is starting...
Jul 17 09:41:32 swi-mdm9x15 user.info kernel: [ 0.000000] Booting Linux on physical CPU 0x0
Jul 17 09:41:32 swi-mdm9x15 user.info kernel: [ 0.000000] Initializing cgroup subsys cpuset
Jul 17 09:41:32 swi-mdm9x15 user.info kernel: [ 0.000000] Initializing cgroup subsys cpu
Jul 17 09:41:32 swi-mdm9x15 user.info kernel: [ 0.000000] Initializing cgroup subsys cpuacct
Jul 17 09:41:32 swi-mdm9x15 user.notice kernel: [ 0.000000] Linux version 3.14.29ltsi-961ca71325_ed9f616cc8 (gsmbuild@CARMD-EV-FRMWR1) (gcc version 4.9.1 (GCC) ) #2 PREEMPT Wed Nov 29 20:54:01 PST 2017
Jul 17 09:41:32 swi-mdm9x15 user.info kernel: [ 0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d

Keybase proof

I hereby claim:

  • I am magiconair on github.
  • I am magiconair (https://keybase.io/magiconair) on keybase.
  • I have a public key ASDPXERoKzWSIoxycT2OCHyHdHipUEYhOaga-8V9EcfKIQo

To claim this, I am signing this object: