If you need to move resources between Terraform projects but they aren't configured in such a way you can directly run tf state move
to move them between modules you can follow this process for migrating resources between terraform projects.
The TrueNAS installer doesn't have a way to use anything less than the full device. This is usually a waste of resources when installing to a modern NVMe which is usually several hundred of GB. TrueNAS SCALE will use only a few GB for its system files so installing to a 16GB partition would be helpful.
The easiest way to solve this is to modify the installer script before starting the installation process.
#!/usr/bin/env python | |
# vim:se sts=4 sw=4 et fenc=utf-8 ft=python: | |
import os.path | |
import pickle | |
from google_auth_oauthlib.flow import InstalledAppFlow | |
from google.auth.transport.requests import Request | |
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
#!/bin/sh | |
while read test_name | |
do | |
dir=${test_name%/*} | |
test=${test_name##*/} | |
for f in ${dir}/*.ini | |
do | |
awk <$f "//; \$1 == \"[${test}]\" { print \"fail-if = fission\" }" | |
#!/usr/bin/env python | |
# vim:se sts=4 sw=4 et fenc=utf-8 ft=python: | |
import json | |
import os | |
import re | |
import sys | |
import urllib.parse | |
from urllib.parse import parse_qs, urlparse | |
import requests |
#!/usr/bin/env bash | |
set -e | |
cweb_version=0.6.16 | |
cweb=https://github.com/koute/cargo-web/releases/download/$cweb_version/cargo-web-x86_64-unknown-linux-gnu.gz | |
curl -Lo cargo-web.gz $cweb | |
gunzip cargo-web.gz | |
chmod u+x cargo-web |
with import <nixpkgs> { | |
overlays = map (uri: import (fetchTarball uri)) [ | |
https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz | |
]; | |
}; | |
stdenv.mkDerivation { | |
name = "rust-wasm"; | |
buildInputs = [ | |
cargo-web |
-
Kinesis Freestyle (Terrible key switches. Mushy and un-lovable)
-
Kinesis Freestyle Edge (Traditional layout with too many keys, mech switches, proably too big to be tented easily/properly)
-
Matias Ergo Pro (Looks pretty great. Have not tried.)
-
ErgoDox Kit (Currently, my everyday keyboard. Can buy pre-assembled on eBay.)
-
ErgoDox EZ (Prolly the best option for most people.)
# Add this snippet to the top of your playbook. | |
# It will install python2 if missing (but checks first so no expensive repeated apt updates) | |
# [email protected] | |
- hosts: all | |
gather_facts: False | |
tasks: | |
- name: install python 2 | |
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) |
from collections import deque | |
def permutations(word): | |
if len(word) == 1: | |
return [word] | |
perms = permutations(word[1:]) | |
c = word[0] | |
res = [] |