[Pkg-libvirt-commits] [libguestfs] 158/179: p2v: Add usb-storage dracut module to allow boot from USB key (RHBZ#1157679).

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 31 19:08:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 7a6d44ebfe23f28f46f6af1fd48ea8371473529b
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Oct 27 15:42:02 2014 +0000

    p2v: Add usb-storage dracut module to allow boot from USB key (RHBZ#1157679).
    
    I only added this to the virt-builder script, since one assumes that
    livecd-creator/whatever should make the kickstart ISO bootable by
    installing whatever drivers and modules are necessary.
---
 p2v/virt-p2v-make-disk.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/p2v/virt-p2v-make-disk.in b/p2v/virt-p2v-make-disk.in
index c29af2c..e0103f8 100644
--- a/p2v/virt-p2v-make-disk.in
+++ b/p2v/virt-p2v-make-disk.in
@@ -145,4 +145,6 @@ virt-builder "$osversion"                                       \
     --edit '/etc/systemd/logind.conf:
         s/^[Login]/[Login]\nReserveVT=1\n/
     '                                                           \
+    --write '/etc/dracut.conf.d/p2v.conf:add_drivers+=" usb-storage "' \
+    --run-command 'dracut -f'                                   \
     $selinux_relabel

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list