Linux

Configure network team using nmcli / NetworkManager

This is a short post on how to create a LACP network team with two member nics using NetworkManager and nmcli. Configuring av network team is very similar to creating a bond. First we need to install the teamd package if it is not already installed. # yum install teamd I have also included a […]

Read More
Linux

Exclude certain packages from yum-cron (but not from yum)

This is a solution for how you can exclude certain packages being updated when using yum-cron. Docker and kernel are packages I would like to exclude from yum-cron. The solution to this is to modify the /etc/yum/yum-cron.conf file adding this to the [base] section RHEL7/Centos7 [base] … exclude = kernel* docker* On RHEL6/Centos6 you can […]

Read More
Linux

Generate a GRUB configuration file

It is sometimes needed to create a new, modify og recreate the grub configuration file. One easy tool to regenerate the config file is the command grub2-mkconfig. This command has helped me add a grub Windows startup option after installing CentOS 7. Write the output of the command to console # grub2-mkconfig Write a new […]

Read More