mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
p2v: make-disk: Add verbose option to dracut in post-install script.
The verbose output goes to /tmp/builder.log so it wouldn't normally be seen by the end user, but it's useful for debugging.
This commit is contained in:
@@ -178,7 +178,7 @@ EOF
|
||||
#!/bin/bash
|
||||
# Rebuild the initramfs.
|
||||
latest_version="$(cd /lib/modules; ls -1vr | head -1)"
|
||||
dracut -f --kver $latest_version
|
||||
dracut -v -f --kver $latest_version
|
||||
EOF
|
||||
# Double quotes because we want $tmpdir to be expanded:
|
||||
extra_args="
|
||||
|
||||
Reference in New Issue
Block a user