File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11# Describe VMs
22MACHINES = {
33 # VM name "kernel update"
4- :"kernel update" => {
4+ :"kernel- update" => {
55 # VM box
66 :box_name => "incertov/centos-7-5" ,
77 # VM CPU count
Original file line number Diff line number Diff line change 11{
22 "variables" : {
3- "artifact_description" : " CentOS 7.7 with kernel 5.x" ,
4- "artifact_version" : " 7.7.1908 " ,
5- "image_name" : " centos-7.7 "
3+ "artifact_description" : " CentOS 7.8 with kernel 5.x" ,
4+ "artifact_version" : " 7.8.2003 " ,
5+ "image_name" : " centos-7.8 "
66 },
77
88 "builders" : [
1616 "guest_os_type" : " RedHat_64" ,
1717 "http_directory" : " http" ,
1818
19- "iso_url" : " http ://mirror.yandex.ru/centos/7.7.1908 /isos/x86_64/CentOS-7-x86_64-Minimal-1908 .iso" ,
20- "iso_checksum" : " 9a2c47d97b9975452f7d582264e9fc16d108ed8252ac6816239a3b58cef5c53d " ,
19+ "iso_url" : " https ://mirror.yandex.ru/centos/7.8.2003 /isos/x86_64/CentOS-7-x86_64-Minimal-2003 .iso" ,
20+ "iso_checksum" : " 659691c28a0e672558b003d223f83938f254b39875ee7559d1a4a14c79173193 " ,
2121 "iso_checksum_type" : " sha256" ,
2222
2323 "boot_command" : [
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# Install elrepo
4- yum install -y http://www.elrepo.org/elrepo-release-7.0-3 .el7.elrepo.noarch.rpm
4+ yum install -y http://www.elrepo.org/elrepo-release-7.0-4 .el7.elrepo.noarch.rpm
55# Install new kernel
66yum --enablerepo elrepo-kernel install kernel-ml -y
77# Remove older kernels (Only for demo! Not Production!)
Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ rm -rf /run/log/journal/*
2727dd if=/dev/zero of=/EMPTY bs=1M
2828rm -f /EMPTY
2929sync
30- grub2-set-default 1
30+ grub2-set-default 0
3131echo " ### Hi from secone stage" >> /boot/grub2/grub.cfg
You can’t perform that action at this time.
0 commit comments