doc-exports/docs/bms/image-creation-guide/en-us_topic_0108604186.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

29 lines
3.7 KiB
HTML

<a name="EN-US_TOPIC_0108604186"></a><a name="EN-US_TOPIC_0108604186"></a>
<h1 class="topictitle1">EulerOS/OpenEuler</h1>
<div id="body1524559452031"><div class="note" id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_note1753131652210"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_p44721755123220">For EulerOS, you do not need to install dracut-modules-growroot package. You only need to install cloud-init and cloud-utils-growpart. Cloud-Init has been installed in <a href="en-us_topic_0100489884.html#EN-US_TOPIC_0100489884">Installing Cloud-Init</a>.</p>
</div></div>
<ol id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_ol14941139508"><li id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_li10494141311509"><a name="EN-US_TOPIC_0108604186__en-us_topic_0103075368_li10494141311509"></a><a name="en-us_topic_0103075368_li10494141311509"></a>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_0108604186__en-us_topic_0103075368_screen19527155113298">[root@localhost ~]# <strong id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_b5954175020339">rpm -qa | grep cloud-init</strong>
cloud-init-0.7.6-3.x86_64
[root@localhost ~]# <strong id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_b2026875583311">rpm -qa | grep growpart</strong>
[root@localhost ~]#</pre>
</li><li id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_li734133172918">Download the <strong id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_b6489133723219">cloud-utils-growpart-0.27-10.x86_64.rpm</strong> package (from <a href="http://repo.huaweicloud.com/euler/2.2/os/x86_64/Packages/" target="_blank" rel="noopener noreferrer">http://repo.huaweicloud.com/euler/2.2/os/x86_64/Packages/</a>), upload the package to the VM, and run the following commands to install it:<p id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_p882415573710"><strong id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_b31563101081">rpm -ivh </strong><em id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_i1660591014810">cloud-utils-growpart-0.27-10.x86_64.rpm</em></p>
<pre class="screen" id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_screen587620314511">[root@bms-eulor22 home]# <strong id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_b650989526">rpm -ivh </strong><strong id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_b110131255219">cloud-utils-growpart-0.27-10.x86_64.rpm</strong>
Preparing... ############################### [100%]
Updating / installing...
1:cloud-utils-growpart-0.27-10 ############################### [100%]</pre>
<p id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_p145681634171314">You can also use an ISO file as the local repo source and run the <strong id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_b5922047114910">yum install cloud-utils-growpart</strong> command to install it.</p>
</li><li id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_li1078312714212">Run the commands in <a href="#EN-US_TOPIC_0108604186__en-us_topic_0103075368_li10494141311509">1</a> again to check whether cloud-utils-growpart is successfully installed.<pre class="screen" id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_screen10650293588">[root@localhost ~]# <strong id="EN-US_TOPIC_0108604186__en-us_topic_0103075368_b136505905810">rpm -qa | grep growpart</strong>
cloud-utils-growpart-0.27-10.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>