sed -i 's/UUID=6695c513-e9fa-4d7b-83c1-b795ce225485-122/UUID=6695c513-e9fa-4d7b-83c1-b795ce225485-158/g' /etc/sysconfig/network-scripts/ifcfg-ens33 sed -i 's/IPADDR=192.168.2.122/IPADDR=192.168.2.158/g' /etc/sysconfig/network-scripts/ifcfg-ens33 sed -i 's/host122/host158/g' /etc/hostname