Archive for September, 2013

OpenStack Packstack Installation with External Connectivity

Handy info, specifically in regards to network-scripts

all things open

Packstack makes installing OpenStack REALLY easy. By using the –allinone option you could have a working self-contained RDO installation in minutes (and most of those minutes are spent waiting for packages to install). However, the –allinone option really should be renamed to the –onlywithinone today, because while it makes the installation very simple it doesn’t allow for instances spun up on the resulting OpenStack environment to be reachable from external systems. This can be a problem if you are trying to both bring up an OpenStack environment quickly and demonstrate integration with systems outside of OpenStack. With a lot of help and education from Perry Myers and Terry Wilson on Red Hat’s RDO team I was able to make a few modifications to the packstack installation to allow a user to use the packstack installation with –allinone and have external access to the instances launched on the host. While I’m…

View original post 656 more words

Advertisement

guestfish in 3 simple steps

libguestfs is a very handy library for manipulating image files. guestfis is a utility that uses libguestfs that allows you to mount an image file and make changes inside the image. One of the coolest features of libguestfs is that it does not require root prevelages to run or access an image file. The below example shows how to use guest fish to mount an make a change to a machine image.

1) install guestfish

# yum install guestfish

2) connect to the  image

guestfish –rw -a ~/Downloads/rhel-server-x86_64-kvm-6.4_20130130.0-4.qcow2

3) edit image

><fs> run
><fs> list-filesystems
><fs> mount /dev/vda1 /
><fs> vi /etc/fstab
 make any changes you need to
 ><fs> umount /
><fs> exit
 

Additional info:

Download machine images:

http://openstack.redhat.com/Image_resources

Documentation

http://libguestfs.org/guestfish.1.html


Upgrade to Fedora 19; Easy as 1, 2 ,3…

Upgrade form Fedora 18 to 19 with FedUp with 3 easy steps..

1. Install FedUp

$ sudo yum install fedup

2. Run FedUp

$ sudo fedup-cli --network 19

3. Executing the Upgrade

Reboot and select System Upgrade form Grub menu.

* there are some recommended post upgrade  steps but they are optional, I do recommend cleaning up your yum repos with a distro sync see the link below for more info

http://fedoraproject.org/wiki/FedUp