[Ovirt-devel] [PATCH node] Remove some redirects to /dev/null so we get better logs
Perry Myers
pmyers at redhat.com
Tue Jan 20 22:13:49 UTC 2009
Signed-off-by: Perry Myers <pmyers at redhat.com>
---
scripts/ovirt-config-boot | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot
index 8c25d47..30ad8df 100755
--- a/scripts/ovirt-config-boot
+++ b/scripts/ovirt-config-boot
@@ -63,7 +63,7 @@ ovirt_boot_setup() {
tmpdir=$(mktemp -d)
cd $tmpdir
gzip -dc $live/$syslinux/initrd0.img |
- cpio -id init sbin/real-init 2> /dev/null
+ cpio -id init sbin/real-init
init_script=init
if [ -e sbin/real-init ]; then
# Fedora 10 mkliveinitrd
@@ -109,7 +109,7 @@ title oVirt Node
EOF
echo "(hd0) $disk" > /boot/grub/device.map
( cd /usr/share/grub/*; cp -p stage? e2fs_stage1_5 /boot/grub )
- grub --device-map=/boot/grub/device.map > /dev/null <<EOF
+ grub --device-map=/boot/grub/device.map <<EOF
root (hd0,$BOOT)
setup --prefix=/grub (hd0)
EOF
@@ -147,7 +147,7 @@ if [ -z "$bootparams" ]; then
fi
# ensure the disk is not blank
-parted $disk -s "print all" > /dev/null
+parted $disk -s "print all"
if [ 0 -eq $? ]; then
ovirt_boot_setup "$disk" "$live" "$bootparams"
--
1.6.0.6
More information about the ovirt-devel
mailing list