While a division operation you have two types of data, float and integer. Python returns float an integer division like 4/2=2.0 and not directly 2. This is a new property included with python3. If you want your result from division returns an integer, use double slash //. Check the example. [crayon-5e7faea82fb01964520242/] To have remainder
HOW TO RENAME VG AND LV IN REDHAT/CENTOS 7 Back 2/2 Next, we must generate a new grub2.cfg file by using grub2-mkconfig. You can generate it according to your boot modules. On BIOS based machines: grub2-mkconfig -o /boot/grub2/grub.cfg On UEFI based machines: grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg Where -o option means where to generate output file.