Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% for device in salt['cmd.run']('lsblk -io NAME -d -e 11,7,1 -l').splitlines()[1:] %}
- salt '*' partition.align_check /dev/{{ device }} minimal 1
- salt '*' partition.check /dev/{{ device }} 1
- salt '*' partition.cp /dev/{{ device }} 2 3
- salt '*' partition.get_id /dev/{{ device }} 1
- salt '*' partition.mkfs /dev/{{ device }}2 fat32
- salt '*' partition.mklabel /dev/{{ device }} msdos
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement