preseed always creatiing swap even though I told it not to
Julio Lajara
ju2wheels at gmail.com
Fri Apr 27 15:59:05 UTC 2018
Hi all, im using a debian-installer preseed to auto install Ubuntu 16.04
server.
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:
```
auto
console-setup/ask_detect=false
debian-installer/allow_unauthenticated_ssl=true
debian-installer/country=US
debian-installer/language=en
debian-installer/locale=en_US.UTF-8
keyboard-configuration/layout=USA
keyboard-configuration/layoutcode=us
netcfg/get_domain=vm
netcfg/get_hostname=myhost
preseed/url=http://192.168.1.5/preseed.cfg
```
preseed:
```
### 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.
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-installer/attachments/20180427/c9f5e1ff/attachment.html>
More information about the Ubuntu-installer
mailing list