Help Center/ Image Management Service/ FAQs/ Cloud-Init/ How Do I Install growpart for SUSE 11 SP4?
Updated on 2024-07-12 GMT+08:00

How Do I Install growpart for SUSE 11 SP4?

Scenarios

For SUSE and openSUSE, growpart is an independent tool and is not included in a cloud-* package. You need to install it separately.

Procedure

  1. Check whether Cloud-Init and growpart are installed.

    rpm -qa | grep cloud-init

    If cloud-init is installed, the command output should be similar to the following:

    cloud-init-0.7.8-39.2

    rpm -qa | grep growpart

    If growpart is installed, the command output should be similar to the following:

    growpart-0.29-8.1
  2. If they are installed, uninstall them.

    zypper remove cloud-init growpart

  3. Delete residual files.

    rm -fr /etc/cloud/*

    rm -fr /var/lib/cloud/*

  4. Install growpart.

    zypper install http://download.opensuse.org/repositories/home:/garloff:/OTC:/cloudinit/SLE_11_SP4/noarch/growpart-0.27-1.1.noarch.rpm

  5. Install python-oauth.

    zypper install http://download.opensuse.org/repositories/home:/garloff:/OTC:/cloudinit/SLE_11_SP4/x86_64/python-oauth-1.0.1-35.1.x86_64.rpm

  6. Install Cloud-Init.

    zypper install http://download.opensuse.org/repositories/home:/garloff:/OTC:/cloudinit/SLE_11_SP4/x86_64/cloud-init-0.7.6-27.23.1.x86_64.rpm

  7. Check whether growpart, python-oauth, and Cloud-Init are installed successfully.

    rpm -qa | grep growpart

    If growpart is installed, the command output should be similar to the following:

    growpart-0.27-1.1

    rpm -qa | grep python-oauth

    If python-oauth is installed, the command output should be similar to the following:

    python-oauthlib-0.6.0-1.5
    python-oauth-1.0.1-35.1

    rpm -qa | grep cloud-init

    If Cloud-Init is installed, the command output should be similar to the following:

    cloud-init-0.7.6-27.19.1
  8. Check the configurations.

    chkconfig cloud-init-local on;chkconfig cloud-init on;chkconfig cloud-config on;chkconfig cloud-final on