Skip to content

Instantly share code, notes, and snippets.

View msnelling's full-sized avatar

Mark Snelling msnelling

View GitHub Profile
@wassupdoc
wassupdoc / gist:f57e65d2a5f52101a5ec6f65355e85c2
Last active November 25, 2020 10:58
Freenas iocage Resilio install
# 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