Files
@ cc12c282bb3d
Branch filter:
Location: majic-ansible-roles/roles/preseed/templates/preseed-wheezy.cfg.j2 - annotation
cc12c282bb3d
2.9 KiB
text/plain
MAR-2: Added a role for generating the preseed files.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d cc12c282bb3d | #
# Pressed configuration file for Debian Wheezy installation for server {{ item.name }}.
#
### Localization configuration
# Language.
d-i debian-installer/language string {{ item.language }}
# Country.
d-i debian-installer/country string {{ item.country }}
# Locale.
d-i debian-installer/locale string {{ item.locale }}
# Keyboard layout.
d-i keymap select {{ item.keymap }}
d-i keyboard-configuration/xkb-keymap select {{ item.keymap }}
### Network configuration
# Network interface to configure.
d-i netcfg/choose_interface select {{ item.network_interface }}
{% if item.network_auto -%}
# DHCP network configuration.
d-i netcfg/disable_autoconfig boolean false
d-i netcfg/get_hostname string ignored-value
d-i netcfg/get_domain string ignored-value
{% else -%}
# Manual network configuration.
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/get_ipaddress string {{ item.network_ip }}
d-i netcfg/get_netmask string {{ item.network_netmask }}
d-i netcfg/get_gateway string {{ item.network_gateway }}
d-i netcfg/get_nameservers string {{ item.network_dns }}
d-i netcfg/confirm_static boolean true
# Hostname and domain configuration.
d-i netcfg/get_hostname string {{ item.network_hostname }}
d-i netcfg/get_domain string {{ item.network_domain }}
{% endif -%}
# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
### Mirror settings
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/hostname string {{ item.mirror_hostname }}
d-i mirror/http/directory string {{ item.mirror_directory }}
d-i mirror/http/proxy string {{ item.mirror_proxy | default("") }}
### Account setup
# Skip creation of regular user account.
d-i passwd/make-user boolean false
# Set root password.
d-i passwd/root-password password {{ item.root_password }}
d-i passwd/root-password-again password {{ item.root_password }}
### Clock and time zone setup
# Hardware clock is UTC.
d-i clock-setup/utc boolean true
# Timezone.
d-i time/zone string {{ item.timezone }}
# Use NTP to set the time during installation.
d-i clock-setup/ntp boolean true
### Partitioning
# Use regular partitioning schema.
d-i partman-auto/method string regular
# All files in one partition.
d-i partman-auto/choose_recipe select atomic
# Wipe out all partitions.
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-md/device_remove_md boolean true
# Partition the disk without confirmation.
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
### Package selection
# Install standard packages and SSH server.
tasksel tasksel/first multiselect standard,ssh-server
### Finishing up the installation
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note
|