#zypper what? i only know about apt!!!
zypper in zypper-aptitue # !!!!!!!!!!!!!!!
zypper ref #apt update
zypper up #apt dist-upgrade
#grommunio-admin
grommunio-admin shrek # ;p
#create/update all users found in ldap
grommunio-admin ldap downsync --auto --complete --lang de_DE --yes
#if we talk about ldap (Active-Directory LANG-Attribute)
```powershell
$AllUsers=Get-ADUser -Filter *
foreach ($u in $AllUsers)
{ Set-ADObject -Identity $u.DistinguishedName -replace @{preferredLanguage="de_DE"}}
```
#useful infos
#get all users
USERLIST=$(grommunio-admin user list | awk '{print $2}' |grep -v -E '^admin$|^users$')
#work with that
for user in $USERLIST; do grommunio-admin user show $user;echo; done
#query
#Domains
grom_doms=$(grommunio-admin domain list |awk '{print $2}')
#Users
grom_users=$(for dom in $grom_doms; do grommunio-admin user query --format json-structured |jq -r '.[]|select(.username|endswith("'${dom}'"))|.username';done)
This Script doesn't care for _versioning_ because of zfs-snapshots on the NFS-Share
eval `sed 's/ //g' /etc/gromox/mysql_adaptor.cfg`
mysqldump --user=$mysql_username --password=$mysql_password --databases $mysql_dbname --add-drop-database > grommunio.dump.sql
eval `sed 's/ //g' /etc/gromox/mysql_adaptor.cfg`
mysql --username=$mysql_username --password=$mysql_password $mysql_dbname < grommunio.dump.sql
Resize the Disk with PowerCLI
pwsh
$myvcenter = Connect-VIServer -Server vcenter-hostname
Get-VM -Name 'grommunio_appl*'|Get-HardDisk |Set-HardDisk -SizeGB 40
exit
Actual Resize in the Appliance with help of growpart
zypper ref && zypper in growpart -y
echo 1 > /sys/block/sda/device/rescan
growpart /dev/sda 3
btrfs filesystem resize max /
take a look at alien8.sh
- not maintained in Debian/Ubuntu
The packages for brotli are available since Bookworm and will be installed automatically by grommunio-setup