Commit Graph

9 Commits

Author SHA1 Message Date
Alexey Makhalov f8fdbcecc0 installer: remove shell scripts
..except mk-setup-grub.sh.

Extras:
- use PARTUUID/UUID in fstab. It is most flexible and will
  allow imagebuilder to use fstab creator from installer
  instead its own implementation.
- Renamed /boot/esp ESP mountpoint to /boot/efi.
- Updated installer/README.txt to reflect previous lvm change.
- Fixed UI config for skipping inactive screens.

Change-Id: I5df3044a42b8deb748c87278dee137081ed60079
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/8231
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
2019-10-14 18:13:22 -07:00
Alexey Makhalov 9273a97061 installer: refactor UI initialization
Move curses.wrapper down to classes/methods instead of
wrapping entire isoInstaller.
It will allow us to run KS installation in console(non curses)
mode, if install_config['ui'] set to false.

Extras:
1) Cleaned up logging.
2) Introduced install_config['log_level'] parameter.
3) Introduced --ui-config argument for isoInstaller.
4) Fixed ostree installation path. OStree installer works,
but target system was not tested.
5) Moved ostree specific install_config options under
install_config['ostree']

Change-Id: I6c31821778d506f3f28fa07254a556830b1fe534
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/8156
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
2019-10-08 15:16:20 -07:00
Alexey Makhalov 661da1302e installer: move partitioning to execution stage
Do not do partitioning in the very beginning of ui config
or at the end of ks config. Merge partitioning code and
move it to installer execution. Remove any partitioning
code from selectdisk ui screen.

Extras:
- deprecate 'vmdk_install' (it is same as 'not iso_installer')
- improve nsurses ui rendering. Avoid unnecessary refresh.
- removed unused param in display() and menu items handlers

Change-Id: I90522da30bb29b452bb68e64e749ab81177875a0
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/8088
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>
2019-09-25 15:10:49 -07:00
Xiaolin Li 9def2a2d77 Installer : change "Hypervisor optimized" to "VMware hypervisor optimized".
Change-Id: Ic9a0e09016d88f12de9ae1416aac920698950771
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4860
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
2018-03-19 17:04:36 -07:00
xiaolin-vmware c533b30802 Clean install code. Limit all lines to a maximum of 99 characters
Change-Id: I9d4758fb6428aa41305a165a076d9156e46b4e42
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4576
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>
2017-12-28 13:39:44 -08:00
xiaolin-vmware a672bd2436 Python3 isoinstaller.
Change-Id: I27fc8cd53b8cea2700b8d4ed47a78f71ce4b9469
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4325
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
2017-12-27 11:13:22 -08:00
xiaolin-vmware 08b297469d Changed message of linuxselector page of installer. (Bug 1865043)
Change-Id: I7a914acd71cb16174a858898468c054b0acec153
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2902
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Steve Hoenisch <shoenisch@vmware.com>
2017-06-14 10:16:40 -07:00
Bo Gan 36a312f8d6 dynamic initramfs
Change-Id: I79e7a9c862f1a3f1ad839cf67df6fe9dde66ab1e
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2626
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
2017-05-07 00:25:47 -07:00
xiaolin-vmware 564d9533d5 Add a screen to select between linux and linux-esx when vmware virtualization is detected.
Change-Id: I6b46b3edbf6356e11963c56a7c800da87dd58881
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2122
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
2017-03-25 00:41:13 -07:00