SUSE
SUSE OSs have growpart by default. However, the growpart version of SUSE 11 SP4 is too late, and you must install growpart of an earlier version.
- Run the following commands to check whether Cloud-Init and cloud-utils-growpart are installed and check the version of cloud-utils-growpart.
linux-dann:~ # rpm -qa | grep cloud-init cloud-init-0.7.6-32.8 linux-dann:~ # rpm -qa | grep growpart growpart-0.29-7.1
- Download the cloud-utils-growpart package from https://software.opensuse.org//download.html?project=home%3Agarloff%3AOTC%3Acloudinit&package=growpart. Then upload it to the VM by following the instructions in section Installing Cloud-Init.
- Run the following command to forcibly install the cloud-utils-growpart package:
rpm -ivh growpart-0.27-1.1.noarch.rpm --force
linux-dam:/home/bms/bms # rpm -ivh growpart-0.27-1.1.noarch.rpm --force warning: growpart-0.27-1.1.noarch.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID de665020 Preparing... ############################### [100%] 1:growpart ############################### [100%]
- After the installation is successful, upload the original cloud-utils-growpart version.
linux-dann:/home/bms/bms # rpm -e growpart-0.29-7.1 linux-dann:/home/bms/bms #
- Delete configuration item growpart from the /etc/cloud/cloud.cfg file.
Run the vi /etc/cloud/cloud.cfg command to delete configuration item growpart shown in the following location.
datasource_list: [ openstack ] growpart: mode: false # The modules that run in the 'init' stage cloud_init_modules: - migrator - bootcmd - write-files - growpart
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.