Red Hat Bugzilla – Bug 1261361
running commands with virt-builder doesn't work
Last modified: 2015-09-09 04:32:10 EDT
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):
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.
*** This bug has been marked as a duplicate of bug 1261377 ***