Try to invoke grubby at first step of the guest post script in order to remove the params rhgb quiet from guests installed by our virt tests. With this patch, we have full serial console log on all virt subtests executed on these guests, giving developers important guest debugging info. Successfully tested with Fedora 15 guest. CC: Eduardo Habkost <ehabkost@xxxxxxxxxx> Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> --- client/virt/unattended/Fedora-10.ks | 1 + client/virt/unattended/Fedora-11.ks | 1 + client/virt/unattended/Fedora-12.ks | 1 + client/virt/unattended/Fedora-13.ks | 1 + client/virt/unattended/Fedora-14.ks | 1 + client/virt/unattended/Fedora-15.ks | 1 + client/virt/unattended/Fedora-8.ks | 1 + client/virt/unattended/Fedora-9.ks | 1 + client/virt/unattended/RHEL-6-series.ks | 1 + 9 files changed, 9 insertions(+), 0 deletions(-) diff --git a/client/virt/unattended/Fedora-10.ks b/client/virt/unattended/Fedora-10.ks index 081d41a..4102fce 100644 --- a/client/virt/unattended/Fedora-10.ks +++ b/client/virt/unattended/Fedora-10.ks @@ -26,6 +26,7 @@ ntpdate %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') diff --git a/client/virt/unattended/Fedora-11.ks b/client/virt/unattended/Fedora-11.ks index c339220..2309637 100644 --- a/client/virt/unattended/Fedora-11.ks +++ b/client/virt/unattended/Fedora-11.ks @@ -26,6 +26,7 @@ ntpdate %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') diff --git a/client/virt/unattended/Fedora-12.ks b/client/virt/unattended/Fedora-12.ks index c339220..2309637 100644 --- a/client/virt/unattended/Fedora-12.ks +++ b/client/virt/unattended/Fedora-12.ks @@ -26,6 +26,7 @@ ntpdate %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') diff --git a/client/virt/unattended/Fedora-13.ks b/client/virt/unattended/Fedora-13.ks index c339220..2309637 100644 --- a/client/virt/unattended/Fedora-13.ks +++ b/client/virt/unattended/Fedora-13.ks @@ -26,6 +26,7 @@ ntpdate %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') diff --git a/client/virt/unattended/Fedora-14.ks b/client/virt/unattended/Fedora-14.ks index e1323cd..fa5dd7f 100644 --- a/client/virt/unattended/Fedora-14.ks +++ b/client/virt/unattended/Fedora-14.ks @@ -27,6 +27,7 @@ dmidecode %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') diff --git a/client/virt/unattended/Fedora-15.ks b/client/virt/unattended/Fedora-15.ks index ea15d80..a44915a 100644 --- a/client/virt/unattended/Fedora-15.ks +++ b/client/virt/unattended/Fedora-15.ks @@ -27,6 +27,7 @@ dmidecode %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') diff --git a/client/virt/unattended/Fedora-8.ks b/client/virt/unattended/Fedora-8.ks index 9403191..1af7559 100644 --- a/client/virt/unattended/Fedora-8.ks +++ b/client/virt/unattended/Fedora-8.ks @@ -25,6 +25,7 @@ ntpdate %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') diff --git a/client/virt/unattended/Fedora-9.ks b/client/virt/unattended/Fedora-9.ks index a7d5399..0c47598 100644 --- a/client/virt/unattended/Fedora-9.ks +++ b/client/virt/unattended/Fedora-9.ks @@ -26,6 +26,7 @@ ntpdate %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') diff --git a/client/virt/unattended/RHEL-6-series.ks b/client/virt/unattended/RHEL-6-series.ks index 166c499..215d75d 100644 --- a/client/virt/unattended/RHEL-6-series.ks +++ b/client/virt/unattended/RHEL-6-series.ks @@ -30,6 +30,7 @@ watchdog %post --interpreter /usr/bin/python import socket, os +os.system('grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)') os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html