<commit_before>#!/bin/bash -vx

set -e

{% if parted %}
echo "{{ parted.commands | join ("\n") }}" | parted {{ parted.disk }}
{% endif %}

until cryptsetup -v --cipher aes-xts-plain64 --key-size 512 -y luksFormat {{ fs.system.disk }}
do sleep 1; done

until cryptsetup open --type luks {{ fs.system.disk }} lvm
do sleep 1; done

pvcreate /dev/mapper/lvm<commit_msg>add wipefs to disk partitioning step<commit_after>#!/bin/bash -vx

set -e

{% if parted %}
wipefs --all {{ parted.disk }}
echo "{{ parted.commands | join ("\n") }}" | parted {{ parted.disk }}
{% endif %}

until cryptsetup -v --cipher aes-xts-plain64 --key-size 512 -y luksFormat {{ fs.system.disk }}
do sleep 1; done

until cryptsetup open --type luks {{ fs.system.disk }} lvm
do sleep 1; done

pvcreate /dev/mapper/lvm
{'fraction_non_alphanumeric': 0.17219387755102042, 'fraction_numerical': 0.017857142857142856, 'mean_word_length': 3.361111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4216800', 'n_tokens_mistral': 317, 'n_tokens_neox': 275, 'n_words': 87}