Install Vmware workstation. Create a vm with nat network interfaces Install basic centos 7 Set up the network vi /etc/sysconfig/network-scripts/ifcfg-ens33 TYPE=Ethernet BOOTPROTO=none DEFROUTE=yes PEERDNS=yes PEERROUTES=yes IPADDR=<ip of ansible server> NETMASK=<your netmask> GATEWAY=<your gateway> NAME=ens33 UUID=cc1db5d0-d10e-463f-aac6-ea5a2140f3a1 DEVICE=ens33 ONBOOT=yes Set namserver on resolv.conf vi /etc/resolv.conf nameserver <your router ip address> Update the packages, add extra repos and …
2018. január archive
jan 26
Fix missing intramfs on RHEL7
I found an interesting problem. After yum update, the kernel install run out error. After the reboot i received kernel panic. Solution: 1. Start the linux with the old kernel. 2. Create new initramfs with the following steps: 2.1 Create intirams: dracut -f -v –kver <kernel> (example: 3.10.0-693.11.6.el7.x86_64) 2.2 Update grub2: grub2-mkconfig -o /boot/grub2/grub.cfg 2.3 …