github.com/hashicorp/packer@v1.14.3/examples/preseeds/ubuntu_preseed.cfg (about)

     1  # Preseeding only locale sets language, country and locale.
     2  d-i debian-installer/locale string en_US
     3  
     4  # Keyboard selection.
     5  d-i console-setup/ask_detect boolean false
     6  d-i keyboard-configuration/xkb-keymap select us
     7  
     8  choose-mirror-bin mirror/http/proxy string
     9  
    10  ### Clock and time zone setup
    11  d-i clock-setup/utc boolean true
    12  d-i time/zone string UTC
    13  
    14  # Avoid that last message about the install being complete.
    15  d-i finish-install/reboot_in_progress note
    16  
    17  # This is fairly safe to set, it makes grub install automatically to the MBR
    18  # if no other operating system is detected on the machine.
    19  d-i grub-installer/only_debian boolean true
    20  
    21  # This one makes grub-installer install to the MBR if it also finds some other
    22  # OS, which is less safe as it might not be able to boot that other OS.
    23  d-i grub-installer/with_other_os boolean true
    24  
    25  ### Mirror settings
    26  # If you select ftp, the mirror/country string does not need to be set.
    27  d-i mirror/country string manual
    28  d-i mirror/http/directory string /ubuntu/
    29  d-i mirror/http/hostname string archive.ubuntu.com
    30  d-i mirror/http/proxy string
    31  
    32  ### Partitioning
    33  d-i partman-auto/method string lvm
    34  
    35  # This makes partman automatically partition without confirmation.
    36  d-i partman-md/confirm boolean true
    37  d-i partman-partitioning/confirm_write_new_label boolean true
    38  d-i partman/choose_partition select finish
    39  d-i partman/confirm boolean true
    40  d-i partman/confirm_nooverwrite boolean true
    41  
    42  ### Account setup
    43  d-i passwd/user-fullname string vagrant
    44  d-i passwd/user-uid string 1000
    45  d-i passwd/user-password password vagrant
    46  d-i passwd/user-password-again password vagrant
    47  d-i passwd/username string vagrant
    48  
    49  # The installer will warn about weak passwords. If you are sure you know
    50  # what you're doing and want to override it, uncomment this.
    51  d-i user-setup/allow-password-weak boolean true
    52  d-i user-setup/encrypt-home boolean false
    53  
    54  ### Package selection
    55  tasksel tasksel/first standard
    56  d-i pkgsel/include string openssh-server build-essential
    57  d-i pkgsel/install-language-support boolean false
    58  
    59  # disable automatic package updates
    60  d-i pkgsel/update-policy select none
    61  d-i pkgsel/upgrade select full-upgrade