Skip to content

Instantly share code, notes, and snippets.

william-gr /
Created May 19, 2022
Replacing a disk in TrueNAS 13.0-RELEASE
#!/usr/bin/env python3
import argparse
import sys
from middlewared.client import Client
def main():
parser = argparse.ArgumentParser()
View gist:ce1d75829fa441cb4418ced4eb0dd9e6
### Keybase proof
I hereby claim:
* I am william-gr on github.
* I am williamgr ( on keybase.
* I have a public key ASCwriWyONvsUdNCDl2ESaPSFbST0DYovyNfF0yjfBJ2KAo
To claim this, I am signing this object:
View example.html
{% load cms_tags sekizai_tags %}
<!doctype html>
<title>{{ request.current_page.get_title }}</title>
{% render_block "css" %}
{% cms_toolbar %}
{% placeholder "main" %}