第一个虚拟机:
主机名controller
cpu 2
内存 4G
磁盘 50G
两张网卡:
一张为仅主机
一张为nat
192.168.100.10
192.168.200.10
第二个虚拟机:
主机名compute
cpu 2
内存 4G
磁盘 80G
两张网卡:
一张为仅主机
一张为nat
两个硬盘:
都为5G即可
192.168.100.20
192.168.200.20
=============================================================
两台
mv /etc/yum.repos.d/* /media/
controller
[root@controller ~]# mkdir /opt/centos
[root@controller ~]# mkdir /opt/iaas
[root@controller ~]# mount -o loop CentOS-7-x86_64-DVD-1511.iso /opt/centos/
mount: /dev/loop0 is write-protected, mounting read-only
[root@controller ~]# mount -o loop XianDian-IaaS-v2.2.iso /opt/iaas/
mount: /dev/loop1 is write-protected, mounting read-only
[root@controller ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 48G 7.6G 40G 16% /
devtmpfs 903M 0 903M 0% /dev
tmpfs 913M 0 913M 0% /dev/shm