Playing with LVM: The declarative approach using python.
This blog is all about the a python program that I created, which uses the declarative approach rather than giving the commands. Its very simple implementation and can be used by any non-technical person in need.
This is the part of the task 7.1(c) given by the Vimal Sir in class, the problem statement is as follows:
ARTH — Task 7.1(C) 👨🏻💻
Task Description 📄
Automating LVM Partition using Python-Script.
What is declarative approach?
Declarative approach means we just need to tell what to do and we don't really need to give the commands. With this, I made a script, that works this way.
So, I am not telling how to create the script, believe me it super easy, and you can see it yourself with the GitHub link below. Setup instructions are added in the README.md file.
Here are some screenshots of the running script.
What I am doing is attaching the video, which is the of my python script how to create LV from scratch below.