Skip to content

Instantly share code, notes, and snippets.

Avatar

Eric Qian freeyoung

  • Berlin, Germany
View GitHub Profile
View InstallNET.sh
#!/bin/bash
## License: GPL
## It can reinstall Debian, Ubuntu, CentOS system with network.
## Default root password: MoeClub.org
## Blog: https://moeclub.org
## Written By MoeClub.org
export tmpVER=''
@freeyoung
freeyoung / tmp
Created Jan 13, 2016 — forked from CMGS/tmp
View tmp
# Generated by confd
include "bird_aggr.cfg";
include "bird_ipam.cfg";
router id {{getenv "IP"}};
{{define "LOGGING"}}
{{$node_logging_key := printf "/host/%s/loglevel" (getenv "HOSTNAME")}}{{if exists $node_logging_key}}{{$logging := getv $node_logging_key}}
{{if eq $logging "debug"}} debug all;{{else if ne $logging "none"}} debug { states };{{end}}
{{else if exists "/global/loglevel"}}{{$logging := getv "/global/loglevel"}}