Script to convert yaml to fstab compatible format
|
3 gadi atpakaļ | |
---|---|---|
LICENSE | 3 gadi atpakaļ | |
Makefile | 3 gadi atpakaļ | |
README.md | 3 gadi atpakaļ | |
data.yaml | 3 gadi atpakaļ | |
yaml2fstab.py | 3 gadi atpakaļ |
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