Update with correct script location for CentOS

Closes-Bug: #1412482

Change-Id: Ifd1819a067c9a4274baa5dc531411ac298052b08
This commit is contained in:
Ramaraja 2015-01-28 23:05:26 +05:30 committed by Andreas Jaeger
parent 8eabbc0a17
commit cc381368b0

View File

@ -237,7 +237,7 @@
<title>Write a script to fetch the public key (if no cloud-init)</title>
<para>If you are not able to install the <systemitem class="service">cloud-init</systemitem>
package in your image, to fetch the ssh public key and add it to the root account, edit
the <filename>/etc/rc.local</filename> file and add the following lines before the line
the <filename>/etc/rc.d/rc.local</filename> file and add the following lines before the line
<literal>touch /var/lock/subsys/local</literal>:</para>
<programlisting language="bash">if [ ! -d /root/.ssh ]; then
mkdir -p /root/.ssh