github.com/hashicorp/packer@v1.14.3/examples/hcl/linux/etc/http/preseed_hardcoded_ip.cfg (about)

     1  #
     2  # Based upon: https://help.ubuntu.com/12.04/installation-guide/example-preseed.txt
     3  #
     4  
     5  # localisation
     6  
     7  d-i debian-installer/locale string en_US.utf8
     8  d-i console-setup/ask_detect boolean false
     9  d-i keyboard-configuration/layoutcode string us
    10  
    11  # networking
    12  # Static network configuration.
    13  d-i netcfg/disable_autoconfig boolean true
    14  d-i netcfg/get_nameservers string 8.8.8.8
    15  d-i netcfg/get_netmask string 255.255.255.248
    16  d-i netcfg/confirm_static boolean true
    17  
    18  
    19  # d-i netcfg/choose_interface select auto
    20  # d-i netcfg/get_hostname string unassigned-hostname
    21  # d-i netcfg/get_domain string unassigned-domain
    22  # d-i netcfg/wireless_wep string
    23  
    24  # apt mirrors
    25  d-i mirror/country string manual
    26  d-i mirror/http/directory string /ubuntu/
    27  d-i mirror/http/hostname string archive.ubuntu.com
    28  d-i mirror/http/proxy string
    29  
    30  # clock and time zone
    31  d-i clock-setup/utc boolean true
    32  d-i time/zone string GMT
    33  d-i clock-setup/ntp boolean true
    34  
    35  # partitioning
    36  d-i partman-auto/method string lvm
    37  d-i partman-lvm/device_remove_lvm boolean true
    38  d-i partman-md/device_remove_md boolean true
    39  d-i partman-lvm/confirm boolean true
    40  d-i partman-lvm/confirm_nooverwrite boolean true
    41  d-i partman-auto-lvm/guided_size string max
    42  d-i partman-auto/choose_recipe select atomic
    43  d-i partman-partitioning/confirm_write_new_label boolean true
    44  d-i partman/choose_partition select finish
    45  d-i partman/confirm boolean true
    46  d-i partman/confirm_nooverwrite boolean true
    47  
    48  # users
    49  d-i passwd/user-fullname string Vagrant
    50  d-i passwd/username string vagrant
    51  d-i passwd/user-password password vagrant
    52  d-i passwd/user-password-again password vagrant
    53  d-i user-setup/allow-password-weak boolean true
    54  d-i user-setup/encrypt-home boolean false
    55  
    56  # packages
    57  tasksel tasksel/first multiselect standard, ubuntu-server
    58  d-i pkgsel/install-language-support boolean false
    59  d-i pkgsel/include string openssh-server nfs-common open-vm-tools
    60  d-i pkgsel/upgrade select full-upgrade
    61  d-i pkgsel/update-policy select none
    62  # postfix postfix/main_mailer_type select No configuration
    63  
    64  # boot loader
    65  d-i grub-installer/only_debian boolean true
    66  
    67  # hide the shutdown notice
    68  d-i finish-install/reboot_in_progress note