clearlinux / clr-installer Goto Github PK
View Code? Open in Web Editor NEWClear Linux* OS Installer
License: GNU General Public License v3.0
Clear Linux* OS Installer
License: GNU General Public License v3.0
All specifying a public ssh key when a new user account is created.
Instead of, or in addition to, a password for new users, allow for the use of a public key.
After network check, but before any media changes, add one final PopUp with a "Are you sure" prompts which shows the target media that will be changed.
Issue by mdhorn
Thursday May 24, 2018 at 21:23 GMT
Issue by mdhorn
Wednesday Feb 21, 2018 at 01:36 GMT
Implementation of the User Interface using a Text-base library.
The TUI and the planned GUI should allow of the collect of the exact same set of data items.
When possible in the design, the TUI and GUI should attempt to implement the same or similar screen types for data collection and follow a comparable workflow.
All public data from the Data Model (#4) should be settable in the TUI; though many items might only be accessible via an Advanced settings screen/menu. Several of the data items may be set by the Automatic Detection of Installation Environment (#5) in which case the use will not be prompted.
Estimated Effort: 2-3 man weeks
Issue by mdhorn
Friday Mar 02, 2018 at 22:19 GMT
Add support to resize the existing media which may already have an OS installed.
Issue by asifhg
Monday May 07, 2018 at 18:38 GMT
Allow the user to completely edit the default kernel cmdline, instead of only appending to it.
Issue by dorileo
Thursday Apr 19, 2018 at 21:55 GMT
Enable the use of Shift-Tab to travel backward through fields.
Currently, mixer uses an ister JSON template as part of the build process.
See clearlinux/mixer-tools#427
Need to also support clr-installer YAML files.
At least two weeks before enabling this change in Mixer, coordinate with the contact leads for the business units and COEs to ensure they know that this change is coming.
Stanley Phoong is a good first contact. @leopck
Issue by dorileo
Monday Apr 02, 2018 at 21:18 GMT
We should convert our configuration format to use cloud init format.
Issue by mdhorn
Wednesday May 30, 2018 at 18:19 GMT
References:
bryteise/ister#125
bryteise/ister#133
Issue by mdhorn
Wednesday Feb 21, 2018 at 01:37 GMT
Implementation of the User Interface using a Graphical library.
The GUI and the planned TUI should allow of the collect of the exact same set of data items.
When possible in the design, the GUI and TUI should attempt to implement the same or similar screen types for data collection and follow a comparable workflow.
All public data from the Data Model (#4) should be settable in the GUI; though many items might only be accessible via an Advanced settings screen/menu. Several of the data items may be set by the Automatic Detection of Installation Environment (#5) in which case the use will not be prompted.
Estimated Effort: 8-10 person weeks
Describe the bug
The latest version of the telemetry server split up the services, so the old name being used by 'systemctl' is no longer valid in the latest Clear Linux release.
Expected
Use the 'telemctl' for all state changes to telemetry services.
Issue by mdhorn
Friday Mar 02, 2018 at 23:53 GMT
Add support for internationalization of all strings in the GUI.
Languages to be supported is TBD.
Current belief is that the TIU does not need this support.
Issue by mdhorn
Wednesday Feb 21, 2018 at 00:59 GMT
This is lower priority after the primary Installation flow which matches current Installation functionality has been completed.
Estimated Effort: 1.5 man weeks
Issue by mdhorn
Thursday May 24, 2018 at 21:26 GMT
Create and release a new bundle for the new clr-installer
Ensure this bundle includes the necessary packages for languages and keyboard layouts.
As noted in #98, the progress display messages showing the final part of the installation can produce enough output that the text scrolls off the screen, but there's no way to scroll back to see what was output. In this particular case, some warnings were generated and I wanted to see if there were others, but no scrolling option was available.
To Reproduce
See the steps in #98. (I had selected all the available extra bundles as part of my manual install so LOTS of "progress dots" were written to the screen and many packages were installed. Curiously, the "progress dots" appeared all at once instead of a few dots every once in a while during the download/install.
Issue by mdhorn
Friday Aug 03, 2018 at 20:50 GMT
Need to rework the code that loads the theme for the TUI to not fail when missing the theme file.
An external color theme for the UI should not be something that prevents the user from completing the installation process -- a color theme is not essential.
Perhaps create some hard-coded, built-in theme set to fail back to versus panicking the program.
Consider adding support for using the Escape-key to back up to the previous menu - same as Cancel button.
Issue by dorileo
Wednesday Mar 28, 2018 at 19:20 GMT
Now we do a "loop based" progress for steps involving swupd commands, we need to:
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
We're adding "options" support for target media configuration, with that the user may add extra arbitrary mkfs.* options, it would be nice to implement some sort of sanity checks before starting the install process and make sure the options are valid or potentially harmless.
Describe alternatives you've considered
Maybe implement some sort of loopback block device to only test the commands against this dummy image.
Additional context
N/A
Issue by mdhorn
Tuesday Apr 17, 2018 at 16:49 GMT
The current implementation only supports HTTPS manual proxy configuration.
We should also support both SOCKS and HTTP Proxy for future as some companies may not have HTTPS -- though it should be most common.
Issue by mdhorn
Friday Jul 13, 2018 at 22:38 GMT
Describe the bug
Choose Language has a default of "Unknown Language", but it is not
selected automatically as an item that needs to be configured -- instead we
auto-select Partition Disks. Also lets me install even though the language
option is "Unknown"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should list the currently set language.
Screenshots
N/A.
Environment (please complete the following information):
N/A
Additional context
N/A.
Describe the bug
Should it be possible to move the scrollable frame via the scrollbar with the mouse? Only tabbing/arrows seem to work.
To Reproduce
N/A
Expected behavior
N/A
Screenshots
N/A
Environment (please complete the following information):
N/A
Additional context
N/A
Getting these warnings during a bare-metal install of CL 25410:
.
.
.
Extracting network-basic pack for version 25360
Extracting openssh-server pack for version 25110
Extracting os-core pack for version 25410
Warning: Linkname can't be converted from UTF-8 to current locale.
Warning: Linkname can't be converted from UTF-8 to current locale.
Warning: Linkname can't be converted from UTF-8 to current locale.
Extracting os-core-update pack for version 25370
.
.
.
To Reproduce
Burned clear-25410-installer.img to a USB stick and booted on a NUC. Selected US keyboard, configured proxy during setup, did a "manual" (rather than automatic) install, specified a different hostname (dbkinder-desk1), and added all the optional additional packages listed. Did not see any other errors/warnings (but I can't scroll the screen to see) -- that's a different problem.
I would like to be able to install into a pre-existing device file mapped via loopback (losetup).
Currently, the TUI crash is I have a device image file mapped, but not mounted.
/usr/bin/qemu-img create -f raw foobar.img 4G
sudo losetup --find --show foobar.img
sudo clr-installer
Select Configure Media
Program will crash:
panic: FreeSpace() must only be called with a disk block device
Error Trace:
storage.(*BlockDevice).FreeSpace()
.gopath/src/github.com/clearlinux/storage.go:411
tui.(*DiskConfigPage).addDiskRow()
.gopath/src/github.com/clearlinux/disk_config.go:463
Describe the bug
When clicking with the mouse on a menu button in the Advanced Tab, it runs the menu button in the same location on the Required Tab.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The dialogue for the clicked Menu button is started
Environment (please complete the following information):
Installed version: 24710
Version URL: https://download.clearlinux.org/update/
Content URL: https://cdn.download.clearlinux.org/update/
clr-installer: 0.8.0
Describe the bug
If a user is added with "Admin" enabled, the account is created and placed in the right groups, but the sudo bundle is not installed on the target system.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The sudo binary (and required configurations) are installed on the target image when a user account with admin privileges is created.
Issue by mdhorn
Friday Mar 02, 2018 at 22:19 GMT
Issue by matthewrsj
Thursday May 03, 2018 at 17:42 GMT
Show what the default is in these screens so I don't feel like I have to scroll through the huge list to select something that is probably already configured.
All jumping to a location in the menu list by tapping a keyboard letter.
TimeZone and Language selection specifically.
Issue by mdhorn
Friday Aug 03, 2018 at 20:55 GMT
Not setting a progress implementation should not prevent the user from completing an installation -- this is not essential information for an install.
Consider implementing a fallback/default process implementation instead of panicking.
Completing an installation with a "messy UI" is better than failing without a path to install.
Clear has support for LTS kernels. Please add the ability to install Clear with the LTS kernel instead to switching after the install is complete.
Issue by mdhorn
Friday Mar 02, 2018 at 22:00 GMT
Before the new installer is released, ensure documentation is updated; such as https://clearlinux.org/documentation/clear-linux/get-started/bare-metal-install
Issue by mdhorn
Sunday Jul 08, 2018 at 01:09 GMT
Describe the bug
Now that we have a scrollable frame, why can't I see things correctly
when the window is shorter than 31 rows. I would expect, the worse case
that we could shrink until only a single item in the scrollable frame is
displayed.
To Reproduce
N/A
Expected behavior
N/A
Screenshots
N/A
Environment (please complete the following information):
N/A
Additional context
N/A
Issue by mdhorn
Wednesday Feb 21, 2018 at 02:37 GMT
Create a combinational ClearLinux image, flashable to USB, which boots into a full ClearLinux "live" image which is usable for exploring ClearLinux. But have the installed present to the user can easily Install ClearLinux as well.
Describe the bug
Currently it's clipping if the settings line is too long, we should make it more friendly and "iconify" that line.
To Reproduce
N/A
Expected behavior
N/A
Screenshots
N/A
Environment (please complete the following information):
N/A
Additional context
N/A
Describe the bug
Currently the TUI code has a few hadcoded values (i.e frame sizes), it could be dynamically calculated.
To Reproduce
N/A
Expected behavior
N/A
Screenshots
N/A
Environment (please complete the following information):
N/A
Additional context
N/A
Describe the bug
We need to selected item color scheme to be consistent. One the main
screen, the selected table is blue with white letter, the selected list
item is white with blue letters, and the button, when selected, is cyan
with grey letters. The select item on scroll lists (like Language) have the
select item with a blue background and bold white text; the non-select
start as grey with black but then switch to purple with white letters.
To Reproduce
Navigate across the UI and check the color inconsistencies.
Expected behavior
Colors should be consistent across the UI.
Screenshots
N/A
Environment (please complete the following information):
N/A
Additional context
N/A
Issue by mdhorn
Friday Jun 01, 2018 at 00:10 GMT
Add the '-race' flag to the 'go test' command to check for possible race conditions.
Consider adding the 'dupl' linter to the code checker to look for "duplicate" code fragments.
Issue by dorileo
Tuesday Apr 10, 2018 at 20:02 GMT
Request to be able to install Clear Linux on a media where an existing OS already resides.
Support adding RPMs via dnf after initial os-core install via swupd.
This is primarily for testing and validation use scenario where newly created version of RPMs need to be tested, but the image is only around for testing and won't be updated.
Ensure the image generate tool is compatible will existing commands which currently use ister.py
ister.py --template-file file:///home/loon_123/mixer/release-image-config.json
--contenturl=file:///home/user/mixer/update/www
--versionurl=file:///home/user/mixer/update/www
--format=25
Would like an installer that can work on IP-based KVMs.
Issue by gtkramer
Thursday May 10, 2018 at 20:19 GMT
See bryteise/ister#131 for more information. This is here mainly to make sure this does not make it's way into the clr-installer from ister as features are backported to make the clr-installer complete.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.