Skip to content

Instantly share code, notes, and snippets.

View dpew's full-sized avatar

Douglas Pew dpew

  • Spectric Labs
View GitHub Profile
@dpew
dpew / run.tpl
Created February 3, 2022 14:55 — forked from efrecon/run.tpl
`docker inspect` template to regenerate the `docker run` command that created a container
docker run \
--name {{printf "%q" .Name}} \
{{- with .HostConfig}}
{{- if .Privileged}}
--privileged \
{{- end}}
{{- if .AutoRemove}}
--rm \
{{- end}}
{{- if .Runtime}}
@dpew
dpew / gist:1200967fdaf1f244196f8e083f77ade0
Created November 15, 2020 01:36 — forked from ereli/gist:e868fcaeb660e420d7a6
Installing Centos using DHCP, TFTP and Kickstart

Installing Centos using DHCP, TFTP and Kickstart Files.

We want to deploy physical nodes before cluster installation, in order to speed up the deployment, we'd like to automate most of the process, requiring us only to enter hostnames and IP address. we will need:

  • A DHCP Server
  • TFTP Server
  • HTTP Server
  • Centos ISO file
  • Optionally: local repo server, local dns server, local ntp server.