|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 7/9] Host install: Break out host_install_postboot_complete
From: Robert Ho <robert.hu@xxxxxxxxx>
We are going to want to do this for nested HVM L1s too.
No functional change.
Signed-off-by: Robert Ho <robert.hu@xxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
v14: Squashed two patches into this one.
---
Osstest/TestSupport.pm | 6 ++++++
ts-host-install | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index d966fe1..a3a9982 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -115,6 +115,7 @@ BEGIN {
iso_gen_flags_basic
iso_copy_content_from_image
guest_editconfig_nocd
+ host_install_postboot_complete
);
%EXPORT_TAGS = ( );
@@ -2395,4 +2396,9 @@ sub guest_editconfig_nocd ($$) {
});
}
+sub host_install_postboot_complete ($) {
+ my ($ho) = @_;
+ target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 .");
+}
+
1;
diff --git a/ts-host-install b/ts-host-install
index f734a9c..3f7f060 100755
--- a/ts-host-install
+++ b/ts-host-install
@@ -165,7 +165,7 @@ END
target_putfilecontents_root_stash($ho,10,$coredumps_conf,
'/etc/security/limits.d/coredumps.conf');
- target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 .");
+ host_install_postboot_complete($ho);
logm('OK: install completed');
}
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |