Script to convert yaml to fstab compatible format
|
il y a 3 ans | |
---|---|---|
LICENSE | il y a 3 ans | |
Makefile | il y a 3 ans | |
README.md | il y a 3 ans | |
data.yaml | il y a 3 ans | |
yaml2fstab.py | il y a 3 ans |
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