Customize cloud images for linux using guestfish

Steps for customizing cloud images for linux using guestfish: 1. Install guestfish
yum install guestfish

2. Run the guestfish command on the image you want to customize.
guestfish --rw -a <image>

3. Type run in the next prompt and press Enter.
 100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ --:--
4. Type list-filesystems in the prompt to see the filesystems in the cloud image.
> list-filesystems

5. Mount the appropriate filesystem.
mount /dev/sda2 /

6. Make changes to the corresponding files as required.
7. Type exit to save changes and exit.


Popular posts from this blog

On-board Linux computers to Azure Log Analytics

Nutanix Calm Blueprint for Single Linux VM

Fluentd error: Unable to push logs to [elasticsearch]