This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$" | |
set fileencodings=ucs-bom,utf-8,latin1 | |
endif | |
set nocompatible " Use Vim defaults (much better!) | |
set bs=indent,eol,start " allow backspacing over everything in insert mode | |
"set ai " always set autoindenting on | |
"set backup " keep a backup file | |
set viminfo='20,\"50 " read/write a .viminfo file, don't store more | |
" than 50 lines of registers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Warewulf Profile Bindings | |
[wwprof,warewulf-profile] | |
map: wwclush-helper --map $GROUP --group-type profile || true | |
all: wwclush-helper --all || true | |
list: wwclush-helper --list --group-type profile || true | |
reverse: wwclush-helper --reverse $NODE --group-type profile|| true | |
cache_time: 300 | |
# Warewulf Cluster Bindings | |
[wwcluster,warewulf-cluster] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: griznog | |
# Purpose: Set any 512b sector drives to 4k sectors. | |
# | |
# Notes: | |
# * Targets all drives using multipath. | |
# Exit on error convenience function. | |
function die(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pool: jbodpool | |
state: ONLINE | |
config: | |
NAME STATE READ WRITE CKSUM | |
jbodpool ONLINE 0 0 0 | |
draid3:8d:102c:3s-0 ONLINE 0 0 0 | |
pci-0000:41:00.0-sas-exp0x5000ccab05483aff-phy0-lun-0 ONLINE 0 0 0 | |
pci-0000:41:00.0-sas-exp0x5000ccab05483aff-phy1-lun-0 ONLINE 0 0 0 | |
pci-0000:41:00.0-sas-exp0x5000ccab05483aff-phy2-lun-0 ONLINE 0 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
messages-20220102 | 9998213 | |
---|---|---|
messages-20220109 | 27720219 | |
messages-2022-01-12 | 361453409 | |
messages-2022-01-13 | 132307201 | |
messages-2022-01-14 | 121775716 | |
messages-2022-01-15 | 125445202 | |
messages-2022-01-16 | 40457067 | |
messages-2022-01-17 | 24043400 | |
messages-2022-01-18 | 34431218 | |
messages-2022-01-19 | 34849615 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################### | |
# Logging, uncomment for troubleshooting. | |
log-dhcp | |
# log-queries | |
log-async=100 | |
# log-debug # Only works with newest dnsmasq. | |
# Only use one of these. | |
# Log to syslog | |
log-facility=DAEMON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go mod init yamltesting | |
$ go mod tidy | |
$ go run main.go nodes.conf ifcfg.ww | |
# Node: cpu-a-1 | |
TYPE=Ethernet | |
DEVICE=enp161s0f1np1 | |
NAME=enp161s0f1np1 | |
BOOTPROTO=static | |
DEVTIMEOUT=10 | |
IPADDR=100.64.2.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: griznog | |
# Purpose: Build/update overlays for all nodes. | |
# Pull in warewulf functions/variables for this node. | |
[[ -f /warewulf/etc/functions ]] && source /warewulf/etc/functions || exit 1 | |
# Collect an MD5SUM for an entire directory, hopefully in a repeatable way. |