how to skip these confirmation dialogs during ubuntu 14.04 automatic installation with preseed?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
Problem Description
==============
how to skip these confirmation dialogs during ubuntu 14.04 automatic installation with preseed?
The automatic installation process is interrupted by the following confirmation dialogs:
+------------+ [!!] Choose a mirror of the Ubuntu archive +-------------+
| |
| Please enter the directory in which the mirror of the Ubuntu archive |
| is located. |
| |
| Ubuntu archive mirror directory: |
| |
| /install/
| |
| <Go Back> <Continue> |
| |
+---
<Tab> moves; <Space> selects; <Enter> activates buttons
+----
| |
| This is an overview of your currently configured partitions and mount |
| points. Select a partition to modify its settings (file system, mount |
| point, etc.), a free space to create partitions, or a device to |
| initialize its partition table. |
| |
| SCSI1 (0,3,0) (sdd) - 64.0 GB ATA MTFDDAK064MAR-1J |
| > 1.0 MB FREE SPACE a |
| > #1 52.4 MB B fat16 EFI System P a |
| > #2 268.4 MB xfs a |
| > #3 16.9 GB swap a |
| > #4 46.8 GB K lvm a |
| > 335.4 kB FREE SPACE a |
| a |
| Undo changes to partitions |
| Finish partitioning and write changes to disk |
| |
| <Go Back> |
| |
+----
<F1> for help; <Tab> moves; <Space> selects; <Enter> activates buttons
+--
| |
| If you continue, the changes listed below will be written to the |
| disks. Otherwise, you will be able to make further changes manually. |
| |
| WARNING: This will destroy all data on any partitions you have |
| removed as well as on the partitions that are going to be formatted. |
| |
| The following partitions are going to be formatted: |
| partition #1 of SCSI1 (0,0,0) (sda) as EFIboot |
| partition #2 of SCSI1 (0,0,0) (sda) as ext3 |
| partition #3 of SCSI1 (0,0,0) (sda) as swap |
| |
| Write the changes to disks? |
| |
| <Yes> <No> |
| |
+--
<Tab> moves; <Space> selects; <Enter> activates buttons
+---
| |
+| Installation complete |
|| Installation is complete, so it is time to boot into your new system. |
|| Make sure to remove the installation media (CD-ROM, floppies), so |
|| that you boot into the new system rather than restarting the |
|| installation. |
|| |
+| <Go Back> <Continue> |
| |
+---
Contact Information = <email address hidden>
---uname output---
Linux x3550m4n07 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Machine Type = x3550m4
---Debugger---
A debugger is not configured
---Steps to Reproduce---
The preseed configure file is:
### Localization
d-i debian-
d-i localechooser/
# Keyboard Selection
d-i console-
d-i keyboard-
### Network Configuration
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/wireless_wep string
d-i netcfg/dhcp_timeout string 120
### Mirror settings
# If you select ftp, the mirror/country string does not need to be set.
d-i mirror/country string manual
d-i mirror/protocol string http
d-i mirror/
d-i mirror/http/proxy string
# Suite to install.
#d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string testing
### Partitioning
# This creates a small /boot partition, suitable
# swap, and uses the rest of the space for the root partition:
d-i partman-auto/method string regular
d-i partman-
d-i partman-
#create the /tmp/partitioning based on the uefi or legacy bios
d-i partman/
debconf-set partman-auto/disk ""
d-i partman-
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/
d-i partman/
d-i partman/confirm boolean true
d-i partman/
d-i partman-md/confirm boolean true
### Account setup
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
d-i passwd/
### Clock and time zone setup
d-i clock-setup/ntp boolean true
d-i clock-setup/
d-i clock-setup/utc boolean true
d-i time/zone string America/New_York
### Apt setup
d-i apt-setup/
d-i apt-setup/universe boolean false
d-i apt-setup/backports boolean false
d-i apt-setup/updates boolean false
### Boot loader installation
d-i grub-installer/
### Package selection
tasksel tasksel/first multiselect standard
# gawk required for the xCAT scripts to work
# Otherwise it installs mawk, which doesn't work
d-i pkgsel/include string openssh-server ntp gawk nfs-common snmpd
d-i debian-
d-i pkgsel/
d-i pkgsel/updatedb boolean false
### Finishing up the installation
d-i finish-
### X configuration
xserver-xorg xserver-
xserver-xorg xserver-
select medium
xserver-xorg xserver-
select 1024x768 @ 60 Hz
d-i preseed/
chmod u+x x3550m4n07.pre; \
./
d-i preseed/
chmod u+x x3550m4n07.post; \
cp ./x3550m4n07.post /target/
mount -o bind /proc /target/proc -t proc; \
mount -o bind /dev /target/dev; \
mount -o bind /dev/pts /target/dev/pts -t devpts; \
mount -o bind /sys /target/sys; \
chroot /target /root/post.script
Install method: Network
Install disk info:
root@x3550m4n07:~# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 64.0 GB, 64023257088 bytes
255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 125045423 62522711+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdd: 64.0 GB, 64023257088 bytes
255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdd1 1 125045423 62522711+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 64.0 GB, 64023257088 bytes
255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 125045423 62522711+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 64.0 GB, 64023257088 bytes
255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 125045423 62522711+ ee GPT
Disk /dev/mapper/
255 heads, 63 sectors/track, 5686 cylinders, total 91357184 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/
Install ISO Information: # cat /install/
== Comment: #2 - Guang Cheng Li <email address hidden> - ==
(In reply to comment #1)
> Reducing the severity of the bug since the confirmation dialogues is not
> stopping the installation and end up with successful installation.
No, considering a cluster with 10,000+ nodes, pressing the "Yes/No" for each node is a show stopper. Our product is designed to automatic deploy and manage the scalability HPC cluster, interaction during the os provisioning is taken as a blocking issue from our perspective. Thanks.
== Comment: #3 - Luciano Chavez <email address hidden> - ==
For the partitioning without confirmation I found a suggestion to try adding:
d-i partman/
select Finish partitioning and write changes to disk
before
d-i partman/
== Comment: #4 - SONG YANG <email address hidden> - ==
hi, I tried this method and still failed to bypass this confirmation
...
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/
d-i partman/
d-i partman/confirm boolean true
d-i partman/
select Finish partitioning and write changes to disk
d-i partman/
d-i partman-md/confirm boolean true
...
(In reply to comment #3)
> For the partitioning without confirmation I found a suggestion to try adding:
>
> d-i partman/
> select Finish partitioning and write changes to disk
>
> before
>
> d-i partman/
affects: | ubuntu → debian-installer (Ubuntu) |
Default Comment by Bridge