Bug 1261323

Summary: running commands with virt-builder doesn't work
Product: [Fedora] Fedora Reporter: Jan Sedlák <jsedlak>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: mbooth, ptoscano, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-09 08:31:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Sedlák 2015-09-09 07:50:26 UTC
Description of problem:
virt-builder doesn't run any commands on system that it is building - if you specify command to run with --run-command or packages to install with --install (or even --selinux-relabel), it doesn't fail during building that image, but it doesn't seem to run that command either.

For example, if you run:

virt-builder -x -v fedora-22 --install vim --root-password password:weakpassword -o disk.img

vim isn't installed on output disk image.

Version-Release number of selected component (if applicable):
virt-builder 1.30.1fedora=22,release=2.fc22,libvirt

How reproducible:
Always.

Steps to Reproduce:
1. Run '
virt-builder -x -v fedora-22 --install vim --root-password password:weakpassword -o disk.img'
2. Boot disk.img: 'qemu-kvm disk.img'
3. Observe that vim isn't installed.

Comment 1 Pino Toscano 2015-09-09 08:31:45 UTC

*** This bug has been marked as a duplicate of bug 1261377 ***