[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

preseed always creatiing swap even though I told it not to

Hi all, im using a debian-installer preseed to auto install Ubuntu 16.04 server (not sure if downstream has a separate mailing list).

I have my preseed working mostly the way I want it with the exception that I cannot get it to not create a swap and it doesnt want to seem to add extra mount options I have added to my custom recipe for partman.

kernel boot options:

preseed/url="" href="">


### Localization
d-i debian-installer/allow_unauthenticated_ssl boolean true
d-i debian-installer/country string US
d-i debian-installer/language string en
d-i debian-installer/locale select en_US.UTF-8

# Keyboard selection.
d-i keyboard-configuration/modelcode string pc105
d-i keyboard-configuration/layout select English (US)
d-i keyboard-configuration/layoutcode string us
d-i keyboard-configuration/variant select English (US)
d-i keyboard-configuration/xkb-keymap select us

### Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/link_wait_timeout string 15
d-i netcfg/dhcp_timeout string 60
d-i netcfg/dhcpv6_timeout string 60
d-i netcfg/get_hostname string myhost
d-i netcfg/get_domain string vm
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean true

### Mirror settings
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string

### Account setup
d-i passwd/root-login boolean false
d-i passwd/user-fullname string Ubuntu User 
d-i passwd/user-uid string 1000
d-i passwd/username string ubuntu
d-i passwd/user-password-crypted password !!
d-i user-setup/encrypt-home boolean false

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

### Partitioning
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-basicfilesystems/no_swap boolean false
d-i partman-auto/choose_recipe select my-root
d-i partman-auto/expert_recipe string                  \
      my-root ::                                       \
              512 2 512 fat16                          \
                      $primary{ }                      \
                      method{ efi }                    \
                      format{ }                        \
              .                                        \
              63488 1 -1 ext4                          \
                      method{ format }                 \
                      format{ }                        \
                      use_filesystem{ }                \
                      filesystem{ ext4 }               \
                      mountpoint{ / }                  \
                      options/discard{ discard }       \
                      options/noatime{ noatime }       \
                      options/nodiratime{ nodiratime } \
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 uuid

### Base system installation
d-i base-installer/kernel/altmeta string hwe-16.04

### Apt setup
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true

### Package selection
d-i tasksel/first multiselect standard system utilities
d-i pkgsel/update-policy select none
d-i pkgsel/upgrade select full-upgrade
d-i pkgsel/language-pack-patterns string
d-i pkgsel/install-language-support boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string /dev/sda

### Finishing up the installation
d-i finish-install/reboot_in_progress note

Any thoughts or pointers on where to look for fixing this would be appreciated.


Reply to: