From 516e378f0e79d127baeac8c6418efc504d3b713e Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Mon, 24 Jan 2011 19:51:57 +0000 Subject: move cloud-run-user-script.conf to cloud-final, use cloud-cfg for invoking This moves what was done as cloud-run-user-script.conf to 'cloud-final' and makes that re-use the cloud-init-cfg code, but simply with a different set of default configs. Also, adds keys_to_console and final_message cloud-config modules LP: #653271 --- doc/examples/cloud-config.txt | 6 ++++++ doc/var-lib-cloud.txt | 3 +++ 2 files changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt index 41ff7924..e6d33465 100644 --- a/doc/examples/cloud-config.txt +++ b/doc/examples/cloud-config.txt @@ -286,3 +286,9 @@ resize_rootfs: True # appropriately to its value # if not set, it will set hostname from the cloud metadata # default: None + +# final_message +# default: cloud-init boot finished at $TIMESTAMP. Up $UPTIME seconds +# this message is written by cloud-final when the system is finished +# its first boot +final_message: "The system is finally up, after $UPTIME seconds" diff --git a/doc/var-lib-cloud.txt b/doc/var-lib-cloud.txt index 2a1acd2b..0f96f267 100644 --- a/doc/var-lib-cloud.txt +++ b/doc/var-lib-cloud.txt @@ -35,6 +35,9 @@ obj.pkl handlers/ data/ # just a per-instance data location to be used + boot-finished + # this file indicates when "boot" is finished + # it is created by the 'final_message' cloud-config - sem/ scripts.once -- cgit v1.2.3