Bug 1261361 - running commands with virt-builder doesn't work
Summary: running commands with virt-builder doesn't work
Keywords:
Status: CLOSED DUPLICATE of bug 1261377
Alias: None
Product: Fedora
Classification: Fedora
Component: libguestfs
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-09 08:12 UTC by Jan Sedlák
Modified: 2015-09-09 08:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-09 08:32:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Sedlák 2015-09-09 08:12:56 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:32:10 UTC

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


Note You need to log in before you can comment on or make changes to this bug.