lost and found ( for me ? )

build OpenShift environment within KVM

KVM host
[root@localhost ~]# cat /etc/fedora-release ;uname -ri
Fedora release 19 (Schrödinger’s Cat)
3.10.9-200.fc19.x86_64 x86_64
[root@localhost ~]#

download openshift virtual machine image

# unzip openshift-origin.zip
Archive:  openshift-origin.zip
 inflating: openshift-origin.vmdk   
 inflating: openshift-origin.vmx    
 inflating: openshift-origin.ovf    
 inflating: openshift-origin.tdl

on KVM host, install mdns
The VM seems to use multicast DNS for name resolution.

on the KVM hsot

# yum install -y nss-mdns

edit /etc/nsswitch.conf

hosts:      files dns mdns4_minimal

hosts:      files mdns4_minimal [NOTFOUND=return] dns myhostname mdns4

convert VM image format from vmdk to row.
# qemu-img convert -O raw openshift-origin.vmdk openshift-origin.img

# mv openshift-origin.img /var/lib/libvirt/images/

register the VM via virt-manager

start the VM and access to the VM over HTTPS
user: admin, pass: admin

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.