From c44fca06a14eb042020d54e0a224748eb805672d Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sun, 13 Jul 2014 12:34:47 +0200 Subject: [PATCH] Install acpid in the CentOS guest image Remove the note about 'virsh reboot' not working. Document the installation of acpid on the guest system. This restores changes accidentally dropped from review 106560. Change-Id: I447506ef65169c8f3cd03f376e96fbc005aafe65 Closes-Bug: #1337242 --- doc/image-guide/section_centos-example.xml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/image-guide/section_centos-example.xml b/doc/image-guide/section_centos-example.xml index 9eb7aeee13..303262145d 100644 --- a/doc/image-guide/section_centos-example.xml +++ b/doc/image-guide/section_centos-example.xml @@ -171,17 +171,24 @@ # virsh attach-disk --type cdrom --mode readonly centos-6.4 "" hdc # virsh destroy centos-6.4 # virsh start centos-6.4 - - In theory, you can use the virsh reboot centos-6.4 command - instead of destroy and start commands. However, in our testing we were unable to - reboot successfully using the virsh reboot command. - Log in to newly created image When you boot for the first time after installation, you might be prompted about authentication tools. Select Exit. Then, log in as root. + + Install the ACPI service + To enable the hypervisor to reboot or shutdown an instance, you + must install and run the acpid service on the guest + system. + Run the following commands inside the CentOS guest to install the + ACPI service and configure it to start when the system + boots: + # yum install acpid +# chkconfig acpid on + Configure to fetch metadata An instance must interact with the metadata service to perform several tasks on start