Use yum instead of rpm

yum should be used instead of directly using rpm to install
RPM packages.

Change-Id: I2ff12cbef676ed70f997708d496f27adc9cee586
This commit is contained in:
Christian Berendt 2014-08-04 12:47:26 +02:00
parent 7edf9af9f7
commit 17e4610508

View File

@ -212,7 +212,7 @@
the public key from the metadata server and places the key in an account. You can the public key from the metadata server and places the key in an account. You can
install <systemitem class="service">cloud-init</systemitem> inside the CentOS guest by install <systemitem class="service">cloud-init</systemitem> inside the CentOS guest by
adding the EPEL repo:</para> adding the EPEL repo:</para>
<screen><prompt>#</prompt> <userinput>rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</userinput> <screen><prompt>#</prompt> <userinput>yum install http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</userinput>
<prompt>#</prompt> <userinput>yum install cloud-init</userinput></screen> <prompt>#</prompt> <userinput>yum install cloud-init</userinput></screen>
<para>The account varies by distribution. On Ubuntu-based virtual machines, the account is <para>The account varies by distribution. On Ubuntu-based virtual machines, the account is
called <literal>ubuntu</literal>. On Fedora-based virtual machines, the account is called <literal>ubuntu</literal>. On Fedora-based virtual machines, the account is