misc_packages() {
local misc_pkgs="ksh tmux vim telnet curl"
+ local misc_pkgs_remove="deltarpm nfs* rpcbind abrt*"
+
+ echo "Disabling mysql-community in /etc/yum.conf ..."
+ echo "exclude=mysql-community*" >> /etc/yum.conf
echo
log "Installing NetworkManager ..."
log "Installing packages: ${misc_pkgs}"
yum install -y ${misc_pkgs}
+ echo
+ log "Removing packages mysql-community* ..."
+ yum remove -y mysql-community*
+
+ echo
+ log "Removing packages: ${misc_pkgs_remove}"
+ yum remove -y ${misc_pkgs_remove}
+
}
#-----------------------------------------------------------
}
+#-----------------------------------------------------------
+install_openvm_tools() {
+
+ echo
+ log "Installing open-vm-tools ..."
+
+ yum install -y open-vm-tools
+
+ echo "Enabling vmware-tools and vmtoolsd ..."
+ systemctl enable vmware-tools
+ systemctl enable vmtoolsd
+
+ vmware-toolbox-cmd timesync disable
+
+}
+
+#-----------------------------------------------------------
+dist_upgrade() {
+
+ echo
+ log "Upgrading all packages ..."
+ echo
+ yum upgrade -y
+
+}
+
#-----------------------------------------------------------
main() {
create_motd
install_legato_networker
install_ntp
+ install_openvm_tools
+ dist_upgrade
tweak_grub