Displaying 1 result from an estimated 1 matches for "22aa03f".
Did you mean:
22a03ef
2010 Oct 13
1
[PATCH] Use augeas to update securetty
...solves a failure when securetty isn't
present in the guest.
Resolves RHBZ#639413
---
lib/Sys/VirtV2V/Converter/Linux.pm | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/lib/Sys/VirtV2V/Converter/Linux.pm b/lib/Sys/VirtV2V/Converter/Linux.pm
index b2eb774..22aa03f 100644
--- a/lib/Sys/VirtV2V/Converter/Linux.pm
+++ b/lib/Sys/VirtV2V/Converter/Linux.pm
@@ -218,20 +218,14 @@ sub _configure_console
}
# Replace any mention of xvc0 or hvc0 in /etc/securetty with ttyS0
- my $size = 0;
- my @lines = ();
+ foreach my $augpath ($g->aug_match(&...