AutomatedInstallsWithPreseed

Attachment 'preseed.cfg'

Download

   1 #
   2 # Canonical, Ltd.
   3 # Frank Heimes
   4 # ftp://server/preseed/preseed.cfg
   5 #
   6 
   7 d-i debconf/priority string critical
   8 d-i auto-install/enable boolean true
   9 
  10 # use -proposed udebs
  11 d-i apt-setup/proposed boolean true
  12 
  13 d-i pkgsel/update-policy select none
  14 
  15 #
  16 # Localization
  17 #
  18 d-i debian-installer/language string en
  19 d-i debian-installer/country string US
  20 d-i debian-installer/locale string en_US.UTF-8
  21 
  22 # activate qeth
  23 d-i s390-netdevice/choose_networktype string qeth
  24 d-i s390-netdevice/qeth/choose string 0.0.0600-0.0.0601-0.0.0602
  25 d-i s390-netdevice/qeth/layer2 boolean true
  26 d-i s390-netdevice/qeth/port string 0
  27 
  28 # use static network configuration
  29 d-i netcfg/choose_interface select auto
  30 d-i netcfg/disable_autoconfig boolean true
  31 
  32 d-i netcfg/get_ipaddress string 10.245.236.12
  33 d-i netcfg/get_netmask string 255.255.255.0
  34 d-i netcfg/get_gateway string 10.245.236.1
  35 d-i netcfg/get_nameservers string 10.245.236.1
  36 d-i netcfg/confirm_static boolean true
  37 d-i netcfg/hostname string ZLIN12
  38 
  39 # provide network-console password
  40 d-i network-console/password password pass4install
  41 d-i network-console/password-again password pass4install
  42 d-i network-console/start note
  43 
  44 # user setup
  45 d-i passwd/user-fullname string ubuntu
  46 d-i passwd/username string ubuntu
  47 d-i passwd/user-password-crypted password $6czoUlkH40NHPJs5.5wdF.kIJF&33VdH0kNMTF$$$QFT6DumGdp5PNjlnnxowin&$%6tcztRC.
  48 
  49 d-i user-setup/encrypt-home boolean false
  50 
  51 # enable shadow passwords
  52 d-i passwd/shadow boolean true
  53 
  54 # HW clock
  55 d-i clock-setup/utc boolean true
  56 # time zone
  57 d-i time/zone string Europe/Berlin
  58 
  59 # The Debian release to install
  60 d-i mirror/suite string xenial
  61 
  62 # do not enable live installer, use normal instead
  63 d-i live-installer/enable boolean false
  64 
  65 # activate DASD, dasdfmt if needed
  66 d-i s390-dasd/dasd string 0.0.0200,0.0.0300,0.0.0400
  67 
  68 # DASD configuration
  69 d-i s390-dasd/auto-format boolean true
  70 d-i s390-dasd/force-format boolean true
  71 
  72 # zfcp configuration
  73 ## d-i s390-zfcp/zfcp string 
  74 ## 0.0.2b12:0x400807704798b4a4:0x201480c800000000
  75 
  76 # optional lines to overwrite old RAIDs and LVMs ....
  77 # d-i partman-md/device_remove_md boolean true
  78 # d-i partman-lvm/device_remove_lvm boolean true
  79 # d-i partman-lvm/confirm boolean true
  80 # d-i partman-lvm/confirm_nooverwrite boolean true
  81 
  82 # auto-partition, all files in one partition
  83 d-i partman-auto/method string regular
  84 d-i partman-auto/choose_recipe select atomic
  85 d-i partman/choose_partition select finish
  86 d-i partman/confirm_nooverwrite boolean true
  87 d-i partman/confirm boolean true
  88 
  89 # Software selection
  90 d-i tasksel/first multiselect standard system utilities, OpenSSH server, Basic Ubuntu server
  91 
  92 # after installation, install some packages - use only one line!
  93 d-i preseed/late_command string in-target sed -i s/prohibit-password/yes/g /etc/ssh/sshd_config; apt-install xfsprogs initramfs-tools screen ftp rsync strace vim build-essential multipath-tools lsscsi lvm2 scsitools
  94 
  95 # reboot at the end
  96 d-i finish-install/reboot_in_progress note

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2016-06-02 09:49:32, 0.7 KB) [[attachment:parmfile.ubuauto]]
  • [get | view] (2016-05-27 20:16:06, 29.6 KB) [[attachment:preseed installation console log.txt]]
  • [get | view] (2016-06-02 09:44:32, 2.9 KB) [[attachment:preseed.cfg]]
  • [get | view] (2017-11-30 14:05:13, 3.7 KB) [[attachment:preseed_kvm.cfg]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.