|Charles Reid 7844005cdf||2 weeks ago|
|attic||1 year ago|
|crontab||3 months ago|
|dotfiles||1 month ago|
|firewall||2 weeks ago|
|motd||2 years ago|
|services||2 years ago|
|tasks||1 year ago|
|LICENSE||2 years ago|
|README.md||2 years ago|
|TODO.md||2 years ago|
|memo||2 years ago|
Repository containing dotfiles and scripts for bootstrapping
from a fresh bare-metal cloud node to a fully-configured node.
This hard-codes the user
charles so it should be edited before general use.
This repo has the following components:
The user is also provided with:
The quickest way to get started with this repo is to use the scripts in
This directory contains
a one-liner pipe-to-bash that will:
This gives you a fully hands-free configuration.
You should create a new
for each new machine.
The entrypoint for everything is the
tasks/sudo_all.sh script should be run as sudo to run all sudo tasks.
tasks/charles_all.sh script should be run as charles to run all regular user tasks.
The task scripts are path-independent and can be run from anywhere.
They automatically detect the location of the script to determine the location
of neighboring task scripts that need to be initiated.
sudo_all.sh script runs the tasks in the following order:
Run with the hostname as the only argument:
$ /path/to/dotfiles/tasks/sudo_all.sh <hostname>
charles_all.sh script runs the tasks in the following order:
Run without an argument:
This directory contains a set of dotfiles to install to set up the machine.
bootstrap.sh script to copy these dotfiles into the home directory.
$ cd dotfiles $ ./bootstrap.sh # ask confirmation $ ./bootstrap.sh -f # do not ask confirmation
NOTE: This is run by the main tasks scripts.
It should be manually re-run anytime your dotfiles
NOTE: On running the bootstrap script, any changes
to your dotfiles in your home directory will be
wiped out, so make sure you save any changes
(or, make them to the dotfiles in the repository).
Contains regular user and sudo crontab files for various hosts.
Install by editing your crontab,
Contains startup services that can be installed.
dockerpod-charlesreid1.service- runs docker-compose pod running site
Contains a special message of the day to display at login for each machine.