• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. Private Image Creation Guide (BMS)
  4. Creating a Linux Image
  5. Configuring the Root Partition to Automatically Expand Disk Capacity
  6. EulerOS 2.2 and EulerOS 2.3

EulerOS 2.2 and EulerOS 2.3

NOTE:

For EulerOS, dracut-modules-growroot is not required and you only need to install Cloud-Init and cloud-utils-growpart. Cloud-Init has been installed in section Installing Cloud-Init.

  1. Check whether Cloud-Init and cloud-utils-growpart are installed. If not, perform subsequent operations in this section to install them.
    [root@localhost ~]# rpm -qa | grep cloud-init
    cloud-init-0.7.6-3.x86_64
    [root@localhost ~]# rpm -qa | grep growpart
    [root@localhost ~]#
  2. Download the cloud-utils-growpart package from http://developer.huawei.com/ict/site-euleros/euleros/repo/yum/2.2/os/x86_64/Packages/. Then upload it to the VM by following the instructions in chapter 11.
  3. Run the following command to install the cloud-utils-growpart package:

    rpm -ivh cloud-utils-growpart-0.27-10.x86_64.rpm

    [root@bms-eulor22 home]# rpm -ivh cloud-utils-growpart-0.27-10.x86_64.rpm
    Preparing...                          ############################### [100%]  
    Updating / installing...
       1:cloud-utils-growpart-0.27-10     ############################### [100%]
  4. Run the command in step 1 to check whether the cloud-utils-growpart package has been installed.
    [root@localhost ~]# rpm -qa | grep growpart
    cloud-utils-growpart-0.27-10.x86_64