diff --git a/config-new.py b/config-new.py new file mode 100644 index 0000000..d31474e --- /dev/null +++ b/config-new.py @@ -0,0 +1,14 @@ +#!/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 diff --git a/config.py b/config.py deleted file mode 100644 index c538abf..0000000 --- a/config.py +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python -HOST_SHORTNAME = 'freenas' -HOSTNAME = 'freenas.local' -ROOT_PASSWORD = 'my super secret password' -CA_CERT_PATH = "/root/ca.crt" -POOLS = {'POOL_NAME': 'ENCRYPTION_KEY', 'POOL_NAME2': 'ECRYPTIONKEY'} \ No newline at end of file