Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

install packages only if needed

#58

If we're building an image for EC2, don't install VMware packages. Same for XEN. Install it only if we specify VMware image type.

Reported by Deleted User · April 2nd, 2009 @ 09:55 PM

State: resolved
Milestone: 1.0.0.Beta4
Assigned to: Deleted User Deleted User

Activity

  1. Deleted User
    Deleted User
    • State changed from new to open

    Maybe this way:

    sudo losetup -f
    sudo losetup -o 32256 /dev/loop0 jboss-cloud/build/appliances/i386/fedora/10/front-end-appliance/front-end-appliance-sda.raw
    sudo mount /dev/loop0 -t ext3 /home/oddthesis/tmp/
    sudo mount -t sysfs none tmp/sys/
    sudo mount -o bind /dev/ tmp/dev/
    sudo mount -t proc none tmp/proc/
    sudo mount -o bind /etc/resolv.conf tmp/etc/resolv.conf
    sudo chroot tmp/ yum -y install mc
    
    

    April 3rd, 2009 @ 12:25 AM

  2. Deleted User
    Deleted User

    We can install local pacakges too in that way:

    mkdir tmp/tmp/oddthesis_install
    sudo mount -o bind jboss-cloud/build/topdir/fedora/10/ tmp/tmp/oddthesis_install/
    sudo chroot tmp/ rpm -Uvh tmp/oddthesis_install/RPMS/noarch/httpd-appliance-1.0.0.Beta3-1.noarch.rpm
    
    

    April 3rd, 2009 @ 12:35 AM

  3. Deleted User
    Deleted User
    • State changed from open to resolved

    Done, check out ApplianceImageCustomize class.

    April 5th, 2009 @ 11:56 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.