* Code has been merged into Build Linux * (releng copy is updated in place) * SSH key for wktech now generated at build time * Hostname is now set using main.py * Passwords are now set using main.py * Timezone is now set using main.py
71 lines
2.6 KiB
Python
71 lines
2.6 KiB
Python
# Wizard Kit: Settings - Main / Branding
|
|
|
|
# Features
|
|
ENABLED_UPLOAD_DATA = False
|
|
|
|
# STATIC VARIABLES (also used by .cmd files)
|
|
## Not using spaces aroung '=' for easier .cmd substrings
|
|
ARCHIVE_PASSWORD='Abracadabra'
|
|
KIT_NAME_FULL='Wizard Kit'
|
|
KIT_NAME_SHORT='WK'
|
|
LINUX_TECH_PASSWORD='Abracadabra'
|
|
LINUX_TIME_ZONE='America/Los_Angeles'
|
|
LINUX_ROOT_PASSWORD='Abracadabra'
|
|
OFFICE_SERVER_IP='10.0.0.10'
|
|
QUICKBOOKS_SERVER_IP='10.0.0.10'
|
|
SUPPORT_MESSAGE='Please let 2Shirt know by opening an issue on GitHub'
|
|
TIME_ZONE='Pacific Standard Time' # Always use "Standard Time" (DST is applied correctly)
|
|
|
|
# SERVER VARIABLES
|
|
## NOTE: Windows can only use one user per server. This means that if
|
|
## one server serves multiple shares then you have to use the same
|
|
## user/password for all of those shares.
|
|
BACKUP_SERVERS = [
|
|
{ 'IP': '10.0.0.10',
|
|
'Name': 'ServerOne',
|
|
'Mounted': False,
|
|
'Share': 'Backups',
|
|
'User': 'restore',
|
|
'Pass': 'Abracadabra',
|
|
},
|
|
{ 'IP': '10.0.0.11',
|
|
'Name': 'ServerTwo',
|
|
'Mounted': False,
|
|
'Share': 'Backups',
|
|
'User': 'restore',
|
|
'Pass': 'Abracadabra',
|
|
},
|
|
]
|
|
CLIENT_INFO_SERVER = {
|
|
'IP': '10.0.0.10',
|
|
'RegEntry': r'0x10001,0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
|
'Share': '/srv/ClientInfo',
|
|
'User': 'upload',
|
|
}
|
|
OFFICE_SERVER = {
|
|
'IP': OFFICE_SERVER_IP,
|
|
'Name': 'ServerOne',
|
|
'Mounted': False,
|
|
'Share': 'Office',
|
|
'User': 'restore',
|
|
'Pass': 'Abracadabra',
|
|
}
|
|
QUICKBOOKS_SERVER = {
|
|
'IP': QUICKBOOKS_SERVER_IP,
|
|
'Name': 'ServerOne',
|
|
'Mounted': False,
|
|
'Share': 'QuickBooks',
|
|
'User': 'restore',
|
|
'Pass': 'Abracadabra',
|
|
}
|
|
WINDOWS_SERVER = {
|
|
'IP': '10.0.0.10',
|
|
'Name': 'ServerOne',
|
|
'Mounted': False,
|
|
'Share': 'Windows',
|
|
'User': 'restore',
|
|
'Pass': 'Abracadabra',
|
|
}
|
|
|
|
if __name__ == '__main__':
|
|
print("This file is not meant to be called directly.")
|