测试CentOS-7-x86_64-Minimal-1708.iso这种光盘安装效果
在dvd1光盘安装选择mininal时有292个包
[root@localhost ~]# rpm -qa|wc -l 292 [root@localhost ~]#
测试下使用mininal的iso文件安装时有什么区别
创建磁盘安装kvm时选择此iso文件
qemu-img create -f qcow2 /data/app/kvm/CentOS-7.4-mininal-x86_64.qcow2 10G virt-install --name CentOS-7.4-mininal-x86_64 \ --virt-type kvm \ --vcpus 4 \ --ram 2048 \ --cdrom=/data/tools/CentOS-7-x86_64-Minimal-1708.iso \ --disk path=/data/app/kvm/CentOS-7.4-mininal-x86_64.qcow2 \ --network bridge=br0 \ --graphics vnc,listen=0.0.0.0 \ --noautoconsole
选择安装包的界面如下
不设置kdump,因为它占内存
291个包
等安装完毕看下哪个包没有
统计比较
[root@openstack-controller-1 /]# ssh 10.0.8.30 Last login: Mon Nov 5 14:49:02 2018 from 10.0.8.11 [root@localhost ~]# rpm -qa|sort >mininal.txt [root@localhost ~]# exit logout Connection to 10.0.8.30 closed. [root@openstack-controller-1 /]# scp 10.0.8.30:/root/mininal.txt . mininal.txt 100% 9319 884.7KB/s 00:00 [root@openstack-controller-1 /]# ssh 10.0.8.32 Last login: Mon Nov 5 14:39:00 2018 from 10.0.8.11 [root@localhost ~]# rpm -qa|sort >mininal-iso.txt [root@localhost ~]# exit logout Connection to 10.0.8.32 closed. [root@openstack-controller-1 /]# scp 10.0.8.32:/root/mininal-iso.txt . mininal-iso.txt 100% 9283 715.1KB/s 00:00 [root@openstack-controller-1 /]# vimdiff mininal.txt mininal-iso.txt
选择dvd1光盘安装的多了个qemu-guest-agent的rpm包
选择mininal的iso安装没qemu-guest-agent的rpm包
其余的包一模一样
[root@openstack-controller-1 /]# wc -l mininal.txt 292 mininal.txt [root@openstack-controller-1 /]# wc -l mininal-iso.txt 291 mininal-iso.txt [root@openstack-controller-1 /]#