Script to convert yaml to fstab compatible format
|
2 years ago | |
---|---|---|
LICENSE | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
data.yaml | 2 years ago | |
yaml2fstab.py | 2 years ago |
It a python script to convert yaml file to fstab compatible format
this script required python3 and pyyaml
yum install PyYAML
apt insatll python3-yaml
pip3 install pyyaml
/tmp/fstab
to /etc/fstab
in main scriptmake check
to verify requirements before runningmake parse
to see parsed datamake verify
to verify parsed data before installing you should see 0 parse errors
to ensure everything is OK.make install
to add parsed data to /etc/fstabmake uninstall
to remove modifications made by this script from /etc/fstab