Script to convert yaml to fstab compatible format
|
|
há 3 anos atrás | |
|---|---|---|
| LICENSE | há 3 anos atrás | |
| Makefile | há 3 anos atrás | |
| README.md | há 3 anos atrás | |
| data.yaml | há 3 anos atrás | |
| yaml2fstab.py | há 3 anos atrás |
It a python script to convert yaml file to fstab compatible format
this script required python3 and pyyaml
yum install PyYAMLapt insatll python3-yamlpip3 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