Standard

openstack: convert *.vmdk to qcow2 & create an image

controller node
upload image *image.vmdk /tmp/images

#source keystonerc_admin

start convert from *.vmdk to qcow2

#qemu-img convert -f vmdk -O qcow2 centos7.vmdk centos7.qcow2

create image

#glance image-create --name=Centos-7-x86_64  --disk-format=qcow2 --container-format=bare --is-public=True < centos7.qcow2

Output:

+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | d52a89842efcd3d92200a53f7d1bc500     |
| container_format | bare                                 |
| created_at       | 2015-10-23T22:18:08.000000           |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | acf95971-fe84-4320-be51-b895e756eeb3 |
| is_public        | True                                 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | Centos-7-x86_64                      |
| owner            | 44354d05368d4137b832870fd9e920e9     |
| protected        | False                                |
| size             | 2805137408                           |
| status           | active                               |
| updated_at       | 2015-10-23T22:18:41.000000           |
| virtual_size     | None                                 |
+------------------+--------------------------------------+
more
Standard

VMware vSphere Client

vSphere v5.0
5.0 : VMware-viclient-all-5.0.0-455964
Update 1 : VMware-viclient-all-5.0.0-623373
Update 1b : VMware-viclient-all-5.0.0-804277
Update 2 : VMware-viclient-all-5.0.0-913577
Update 3 : VMware-viclient-all-5.0.0-1300600

vSphere v5.1
5.1 : VMware-viclient-all-5.1.0-786111
5.1.0.b : VMware-viclient-all-5.1.0-941893
5.1 Update 1 : VMware-viclient-all-5.1.0-1064113
5.1 Update 1b : VMware-viclient-all-5.1.0-1235233
5.1 Update 2 : VMware-viclient-all-5.1.0-1471691
5.1 Update 2a : VMware-viclient-all-5.1.0-1880906

vSphere v5.5
5.5 : VMware-viclient-all-5.5.0-1281650
5.5 Update 1: VMware-viclient-all-5.5.0-1618071
5.5 Update 1a : VMware-viclient-all-5.5.0-1746248
5.5 Update 1c : VMware-viclient-all-5.5.0-1745234
5.5 Update 1b : VMware-viclient-all-5.5.0-1880841
5.5 Update 2 : VMware-viclient-all-5.5.0-1993072

vSphere v6.0
6.0 : VMware-viclient-all-6.0.0-2502222

more
Standard

Change default network name “eth0” centos7

# vi /etc/default/grub

Make change at line GRUB_CMDLINE_LINUX

GRUB_CMDLINE_LINUX=”rd.lvm.lv=rootvg/usrlv rd.lvm.lv=rootvg/swaplv crashkernel=auto vconsole.keymap=us rd.lvm.lv=rootvg/rootlv vconsole.font=latarcyrheb-sun16 rhgb quiet net.ifnames=0 biosdevname=0”
 # grub2-mkconfig -o /boot/grub2/grub.cfg 

Output,

Generating grub configuration file …
Found linux image: /boot/vmlinuz-3.10.0-121.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-121.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-df30d92ad3eb414583d85bb471003eb4
Found initrd image: /boot/initramfs-0-rescue-df30d92ad3eb414583d85bb471003eb4.img
done
#vi /etc/udev/rules.d/70-persistent-ipoib.rules

add this two lines

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

instead xx:xx should be hardware address.

#cd /etc/sysconfig/network-scripts/
#cp ifcfg-eno1 ifcfg-eth0
#cp ifcfg-eno2 ifcfg-eth1

use ifcfg-eth0 conf file to change param.

#vi /etc/sysconfig/network-scripts/ifcfg-eth0

TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno1 ---> eth0
UUID=e904c92a-e00d-42de-9733-3ab7ec7fedb7
DEVICE=eno1 ---> eth0
ONBOOT=yes

same for interface ifcfg-eth1

#reboot
more