This repository has been archived on 2020-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
FreeNAS-Network-Unlock/config.py
2019-11-12 15:11:25 -05:00

23 lines
967 B
Python

#!/usr/bin/env python
# Descriptive name for the host
HOST_SHORTNAME = 'freenas'
# FQDN for the host, can use IP too
HOSTNAME = 'freenas.local'
# Root password for the system, api is only able to use basic auth with the root account
ROOT_PASSWORD = 'my super secret password'
# path to the CA certificate to verify the ssl cert. If you don't wish to verify, make this False
CA_CERT_PATH = '/root/ca.crt'
# pool names and their encryption keys, the index is the pool name and the value is the encryption passphrase for the pool
# Ex: ENCRYPTION_PASSPHRASES = {'zroot': 'super secret password goes here'} this would be the zroot pool and password to unlock it
ENCRYPTION_PASSPHRASES = {
'POOL_NAME': 'ENCRYPTION_PASSPHRASE',
'POOL_NAME2': 'ENCRYPTION_PASSPHRASE2'
}
# STMP Settings
SMTP_SERVER = 'smtp.gmail.com'
SMTP_PORT = 587
SMTP_SSL = True
SMTP_FROM = 'admin@gmail.com'
SMTP_USERNAME = 'admin@gmail.com'
SMTP_PASSWORD = 'super secret password goes here'