Skip to content

Instantly share code, notes, and snippets.

View ggasd123's full-sized avatar

Stacey Upchurch ggasd123

View GitHub Profile
# make temp file that will cause iocage to install some packages
echo '{"pkgs":["ca_root_nss"]}' > /tmp/pkg.json
# create jail
iocage create -n "rslsync" -p /tmp/pkg.json -r 11.3-RELEASE ip4_addr="vnet0|YOURRESILIOIP/24" defaultrouter="ROUTERIP" vnet="on" allow_raw_sockets="1" boot="on"
# remove the temp file
rm /tmp/pkg.json
#make our iocage directories
iocage exec rslsync mkdir -p /config
iocage exec rslsync mkdir -p /mnt/syncdata
@ggasd123
ggasd123 / front.md
Created March 27, 2020 03:50
markdownpage

Welcome to Cloud Genius

How are you doing?

Thank you.

@ggasd123
ggasd123 / docker.sh
Created July 26, 2019 00:39
docker install
apt-get update && \
apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
@ggasd123
ggasd123 / circleci-config.yml
Created February 8, 2019 20:53 — forked from danmaas/circleci-config.yml
Continuous Deployment to Google Kubernetes Engine with CircleCI (config.yaml)
version: 2
jobs:
build_and_test:
# ... insert your test suite here
docker_push:
# Build app container and push it to the GCR registry
# Note: we want to build and push an image with tags based on both
# the Git commit hash AND the branch name. This way, we can refer to