<commit_before>#### Contents of the preconfiguration file (for wheezy)
### Localization
d-i debian-installer/locale string en_AU
d-i console-keymaps-at/keymap select us
d-i keyboard-configuration/xkb-keymap select us
d-i localechooser/supported-locales multiselect en_US.UTF-8

### Network configuration
d-i netcfg/choose_interface select auto

### Mirror settings
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/hostname string mirror.aarnet.edu.au
d-i mirror/http/directory string /pub/debian
d-i mirror/suite string wheezy
d-i mirror/http/proxy string

### Account setup
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password password <PASSWORD>
d-i passwd/root-password-again password <PASSWORD>
d-i user-setup/allow-password-weak boolean true
d-i user-setup/password-weak boolean true

### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true

### Partitioning
d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string root :: \
500 10000 1000000 ext4 \
          $primary{ } \
      $bootable{ } \
      method{ format } \
      format{ } \
      use_filesystem{ } \
      filesystem{ ext4 } \
      mountpoint{ / } .

d-i partman-auto/choose_recipe select root
d-i partman-basicfilesystems/no_swap boolean false
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/mount_style select traditional
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true

# Security
d-i apt-setup/services-select multiselect security
d-i apt-setup/security_host string mirror.aarnet.edu.au
d-i apt-setup/security_path string /pub/debian-security

#Additional Repo
d-i apt-setup/local0/repository string deb http://mirror.as24220.net/pub/debian-backports wheezy-backports main

### Package selection
tasksel tasksel/first multiselect minimal
d-i pkgsel/include string openssh-server ntp
d-i pkgsel/upgrade select none
popularity-contest popularity-contest/participate boolean false

## Misc options
d-i netcfg/wireless_wep string
d-i finish-install/reboot_in_progress note

# Late command
d-i preseed/late_command string \
    sed -i -e 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /target/etc/ssh/sshd_config; \
    sed -i -e 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /target/etc/ssh/sshd_config
<commit_msg>Not sure security works for Debian<commit_after>#### Contents of the preconfiguration file (for wheezy)
### Localization
d-i debian-installer/locale string en_AU
d-i console-keymaps-at/keymap select us
d-i keyboard-configuration/xkb-keymap select us
d-i localechooser/supported-locales multiselect en_US.UTF-8

### Network configuration
d-i netcfg/choose_interface select auto

### Mirror settings
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/hostname string mirror.aarnet.edu.au
d-i mirror/http/directory string /pub/debian
d-i mirror/suite string wheezy
d-i mirror/http/proxy string

### Account setup
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password password <PASSWORD>
d-i passwd/root-password-again password <PASSWORD>
d-i user-setup/allow-password-weak boolean true
d-i user-setup/password-weak boolean true

### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true

### Partitioning
d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string root :: \
500 10000 1000000 ext4 \
          $primary{ } \
      $bootable{ } \
      method{ format } \
      format{ } \
      use_filesystem{ } \
      filesystem{ ext4 } \
      mountpoint{ / } .

d-i partman-auto/choose_recipe select root
d-i partman-basicfilesystems/no_swap boolean false
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/mount_style select traditional
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true

#Additional Repo
d-i apt-setup/local0/repository string deb http://mirror.as24220.net/pub/debian-backports wheezy-backports main

# Package selection
tasksel tasksel/first multiselect minimal
d-i pkgsel/include string openssh-server ntp
d-i pkgsel/upgrade select none
popularity-contest popularity-contest/participate boolean false

## Misc options
d-i netcfg/wireless_wep string
d-i finish-install/reboot_in_progress note

# Late command
d-i preseed/late_command string \
    sed -i -e 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /target/etc/ssh/sshd_config; \
    sed -i -e 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /target/etc/ssh/sshd_config

{'fraction_non_alphanumeric': 0.0961768219832736, 'fraction_numerical': 0.009557945041816009, 'mean_word_length': 4.130745658835546, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4490382', 'n_tokens_mistral': 1722, 'n_tokens_neox': 1641, 'n_words': 446}