This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<advancedsettings> | |
<videoscreen> | |
<monitor>Generic PnP Monitor #1</monitor> | |
</videoscreen> | |
</advancedsettings> | |
<!-- place this in "C:\Users\YOURUSERNAME\AppData\Roaming\Kodi\userdata --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -i | |
sudo apt update && sudo apt dist-upgrade -y && sudo apt install lsof && sudo reboot | |
# ssh back in | |
sudo -i | |
snap remove --purge oracle-cloud-agent && sudo snap remove --purge core18 | |
apt purge -y $(dpkg-query -Wf '${Package}\n' | grep header) $(apt list --installed | grep -oP "^linux.*\d\d\d\d-oracle" | grep -v "$(uname -r)") linux-modules-extra-$(uname -r) lxc* lxd* vim* && sudo apt -y autoremove && sudo apt -y autoclean && apt -y clean | |
rm -rf /var/log/* /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# should works on any cloud-init enabled hypervisor (openstack.. ) | |
# start from a normal ubuntu 20.04 install as minimal was not available for ARM64 | |
# Since ARM64 machines has higher RAM, Shrinking is desired but not necessary. Instead we will increase tmpfs to 1700MB | |
# Getting root (if sudo -i doesn't work then set a root password beforehand using 'sudo passwd root' | |
sudo -i | |
# make sure we are on the highest kernel, so we can delete all the others ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Easiest done from a minimal clean 6.10 stock install as you need to be on same kernel as iso. | |
# Be root.. | |
yum install -y p7zip p7zip-plugins genisoimage gcc make kernel-devel | |
# download and extract iso | |
cd /tmp | |
mkdir centint | |
wget https://vault.centos.org/6.10/isos/x86_64/CentOS-6.10-x86_64-netinstall.iso | |
7z x -y -o/tmp/centint/ -r /tmp/CentOS-6.10-x86_64-netinstall.iso |