Feature #1757

ISO: interactive installer

Added by Giacomo Sanchietti over 8 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-devbox
Target version:v6.5-beta3
Resolution: NEEDINFO:No

Description

Add a simple interactive installer where the user can configure:
  • installation language
  • keyboard layout
  • filesystem encryption
  • (root password ?)

See source:nethserver-devbox|/root/usr/share/nethesis/nethserver-devbox/iso/ks/ks-interactive.cfg@2cde86a8


Related issues

Related to NethServer 6 - Enhancement #1742: Base: avoid double network restart on first boot event CLOSED
Related to NethServer 6 - Enhancement #2582: Base: remove bootstrap-console CLOSED
Related to NethServer 6 - Enhancement #2734: Remove obsolete console and bootstrap-console commands CLOSED

Associated revisions

Revision 5d378363
Added by Giacomo Sanchietti over 7 years ago

createlinks: rename first-boot event to system-init. Refs #1757

Revision cb4a41d0
Added by Giacomo Sanchietti over 7 years ago

createlinks: rename first-boot event to system-init. Refs #1757

Revision cdec39d1
Added by Giacomo Sanchietti over 7 years ago

createlinks, system-init event: remove boostrap-console save and avoid double network restart. Refs #1742 #1757

Modifications:
  • rename first-boot event to system-init event
  • nethserver-base-plymouth-update: do not execute in background
  • execute system-adjust on system-init event
  • nethserver-base-initialize-db replaces boostrap-console

Revision 678f63e5
Added by Giacomo Sanchietti over 7 years ago

kickstart: add interactive installer. Refs #1757

Revision 15b4a072
Added by Giacomo Sanchietti over 7 years ago

kickstart, build-iso, images: update isolinux configuration and add interactive installer. Refs #1757

Revision 67a8466c
Added by Giacomo Sanchietti over 7 years ago

interactive ks: fix group installation. Refs #1757

Revision bef857c4
Added by Giacomo Sanchietti over 7 years ago

Interactive installer: use all disks during installation and add spare disk option. Refs #1757

Revision d1e8c182
Added by Davide Principi over 7 years ago

Fixed italian lang label. Refs #1757

Revision 94703829
Added by Giacomo Sanchietti over 7 years ago

Interactive installer: fix spare option on systems with 2 disks. Refs #1757

Revision 0e8512eb
Added by Giacomo Sanchietti over 7 years ago

Interactive installer: change RAID_2_DISKS label. Refs #1757

History

#1 Updated by Giacomo Sanchietti over 8 years ago

  • Estimated time set to 16.00

#2 Updated by Filippo Carletti over 8 years ago

  • Target version changed from v6.4-beta1 to ~FUTURE

#3 Updated by Filippo Carletti almost 8 years ago

  • Target version changed from ~FUTURE to v6.5-beta3

#4 Updated by Davide Principi over 7 years ago

  • Description updated (diff)

#5 Updated by Davide Principi over 7 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#6 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#7 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

Build from nethserver-devbox cloned repository:

cd root/usr/share/nethesis/nethserver-devbox/iso/ks/
make

Test case
  • Copy the generated interactive.cfg file to a http server
  • Boot with cdrom and add this options to kernel arguments:
    • ks=http://<server>/path/interactive.cfg
  • Check no errors occurs during installation process
  • See #2582 note #1

#8 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

#9 Updated by Giacomo Sanchietti over 7 years ago

  • Assignee deleted (Giacomo Sanchietti)
Some settings combinations to test:
  • only one disk
  • 2 disks and raid enabled (expected result: raid 1 on both disks)
  • 3 or more disks and raid enabled (expected result: raid 1 on boot partition, raid 1 or 5 on root partitions)
  • 2 or more disks and raid disabled (expected result: only first disks used)
  • 2 ore more network devices
  • encrypted filesystem with custom password
  • selection of italian and english language

#10 Updated by Davide Principi over 7 years ago

  • Assignee set to Davide Principi

#11 Updated by Davide Principi over 7 years ago

  • Status changed from ON_QA to TRIAGED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 20

TODO: add RAID spare disk option

#12 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#13 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60
New features:
  • use all disks for RAID
  • add option to enable hot-spare disk

#14 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70

It's possible to check installation option looking to kickstart include files.

Test case: keyboard
File: /tmp/keyboard-include

Test case: language
File: /tmp/lang-include

Test case: timezone
File /tmp/timezone-include
UTC is always enabled

Test case: timezone
File: /tmp/password-include
Password is saved in clear text inside the file.

Test case: root filesystem
File: /tmp/rootfs-include
If fs encryption is enabled, check for encrypted and passphrase options.

Test case: raid
File: /tmp/part-include
If raid is disabled, check for a line line like:

part /boot --fstype ext3 --size 512

Otherwise:
part pv.1 --asprimary --fstype='physical volume (LVM)' --ondisk=sda,sdb --size=5000 --grow

If spare is enabled. check for --spares=1 option.

Test case: network
File: /tmp/network-include

#15 Updated by Davide Principi over 7 years ago

  • Assignee set to Davide Principi

#16 Updated by Davide Principi over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

VERIFIED

  • only one disk => OK
  • 2 disks and raid enabled (expected result: raid 1 on both disks) => OK
  • 3 or more disks and raid enabled (expected result: raid 1 on boot partition, raid 1 or 5 on root partitions) => OK
  • 2 or more disks and raid disabled (expected result: only first disk used) => OK
  • 2 ore more network devices => OK
  • encrypted filesystem with custom password => OK
  • selection of italian and english language => OK

#17 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released in nethserver/6.5/base repository.

Also available in: Atom PDF