Skip to content

Instantly share code, notes, and snippets.

@igalic

igalic/foo.yaml Secret

Created December 19, 2019 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igalic/90f3ea89f4339d2297a9f5a356e04b8d to your computer and use it in GitHub Desktop.
Save igalic/90f3ea89f4339d2297a9f5a356e04b8d to your computer and use it in GitHub Desktop.
#cloud-config
system_info:
distro: freebsd
packages:
- python36
- tmux
- neovim
- git
- tig
- ripgrep
- rubygem-pry
- rubygem-r10k
runcmd:
- mkdir -p /etc/facter/facts.d
- echo 'role=container-host' > /etc/facter/facts.d/role.txt
- # have a sensible shell
- chsh -s /usr/local/bin/fish root
- chsh -s /usr/local/bin/fish freebsd
- # speed up http, and enable accounting
- echo "kern.racct.enable=1" >> /boot/loader.conf
- echo 'accf_data_load="YES" >> /boot/loader.conf
- # enable firewall
- sysrc pf_enable=YES
- echo 'scrub all in' >> /etc/pf.conf
- service pf start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment