UBUNTU |OpenVPN DNS Problems

DNS ist not pushed to ubuntu clients # apt-get  install openvpn-systemd-resolved Then modify your clients openvpn config file. Add script-security 2 up /etc/openvpn/update-systemd-resolved down /etc/openvpn/update-systemd-resolved down-pre before your certs block and add dhcp-option DOMAIN-ROUTE . dhcp-option DOMAIN  yourinternaldomain ad the end.

kvm | linux | shrink sparse disk using zerofree

Install zerofree edit your fstab, set your root drive to RO like /dev/vda1 / ext2 ro 0 1 Halt your system # halt -p Start your system into the grub menu, then select rescue mode, then drop to root shell Run zerofree like # zerofree /dev/vda1 Remount your root drive RW # mount -o remount,rw […]

UBUNTU // Handle old kernel mess

Automatic: dpkg-reconfigure unattended-upgrades vi /etc/apt/apt.conf.d/50unattended-upgrades //Unattended-Upgrade::Remove-Unused-Dependencies “false”; —> //Unattended-Upgrade::Remove-Unused-Dependencies “true”; By hand: apt install byobu purge-old-kernels or apt autoremove –purge