doc-exports/docs/bms/image-creation-guide/en-us_topic_0245049910.html
guoyanyan fe8c0cf45c BMS Image Creation Guide 1109
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2022-11-16 08:53:42 +00:00

31 lines
3.5 KiB
HTML

<a name="EN-US_TOPIC_0245049910"></a><a name="EN-US_TOPIC_0245049910"></a>
<h1 class="topictitle1">CentOS/EulerOS ARM/OpenEuler ARM</h1>
<div id="body1589443224437"><div class="note" id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_note1753131652210"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_p44721755123220">For CentOS and EulerOS ARM, you need to install cloud-init, cloud-utils-growpart, and gdisk. Cloud-Init has been installed in <a href="en-us_topic_0100489884.html#EN-US_TOPIC_0100489884">Installing Cloud-Init</a>.</p>
<p id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_p147531166229">This section uses CentOS 7.6 ARM as an example to describe how to install them.</p>
</div></div>
<ol id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_ol286312568340"><li id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_li10494141311509">Check whether cloud-init and cloud-utils-growpart have been installed. If no, perform the following steps to install them.<pre class="screen" id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_screen19527155113298">[root@localhost ~]# <strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b5954175020339">rpm -qa | grep cloud-init</strong>
cloud-init-0.7.5-10.el7.centos.1.x86_64
[root@localhost ~]# <strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b2026875583311">rpm -qa | grep growpart</strong>
[root@localhost ~]# </pre>
</li><li id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_li294362113518">Run the following <strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b5863205574417">yum</strong> command to install cloud-utils-growpart online.<p id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_p1458112110388"><strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b5836202319380">yum install cloud-utils-growpart</strong></p>
</li><li id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_li208466428551">Check whether gdisk is installed.<p id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_p15771718185616"><a name="EN-US_TOPIC_0245049910__en-us_topic_0245041958_li208466428551"></a><a name="en-us_topic_0245041958_li208466428551"></a><strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b12487536125613">rpm -qa | grep gdisk</strong></p>
<pre class="screen" id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_screen12716123535710">[root@localhost ~]# <strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b62861640165716">rpm -qa | grep gdisk</strong>
[root@localhost ~]#</pre>
<p id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_p11261161965612">If no, run the <strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b19349424144510">yum install gdisk</strong> command to install it.</p>
</li><li id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_li1937482453519">Check whether cloud-utils-growpart and gdisk are installed successfully.<pre class="screen" id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_screen1205109193910">[root@localhost ~]# <strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b112065911396">rpm -qa | grep growpart</strong>
cloud-utils-growpart-0.29-2.el7.noarch
[root@localhost ~]# <strong id="EN-US_TOPIC_0245049910__en-us_topic_0245041958_b193518212588">rpm -qa | grep gdisk</strong>
gdisk-0.8.10-3.el7.x86_64</pre>
</li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0108604183.html">Configuring the Root Partition to Be Automatically Extended</a></div>
</div>
</div>