We were attempting to run the telemetry command to opt out
on the target when the binary was not present.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This change removes the need for telemetrics bundle to be present for
the installer to work.
Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
This change executes opt-in when users agree to provide crash information
to the clear linux team and opt-out when users do not agree.
Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
We should only store the telemetry answer when it was
user selected. This fix was needed due to the new advanced
configuration which save the temporary state.
Need to update the ister model for the new change.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
If the telemetry value is added to the YAML will set the default
as if the user had selected it in the UI.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Use a new feature from telem-record-gen where the telemetry record is
generated independently of telempost daemon. This change allows to
simplify the code to interact with telemetry.
Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
This GUI has been implemented in GTK+ and is very much a work in
progress. So far, we have a number of initial pages implemented:
- Disk Configuration
- Bundles
- Keyboard
- Language
- Timezone
- Telemetry
Note, some of the pages are quite ugly and basic and will need
some improvements. Additionally, the disk config page is currently
very crude, only supporting automatic installation mode.
Additionally, the use of pkexec will ignore environmental variables
for the proxy, thus, proxy support is a bust in the GUI installer.
Some OS-level work is expected to resolve this magically anyway.
There are some ugly hardcoded elements, such as relying on a system
wallpaper file for CSS, and the cooked-in CSS vs an on-disk .css file
that designers can edit and tweak locally. Note that error handling
is incredibly immature right now, resulting in a panic. Realistically
we need to show a "success" or "failure" page within a stack on the
install page to let the user know what happened, and offer the choice
of a reboot.
As a final note, the UX is still not rock solid, and will need
a design-develop feedback loop to improve. This commit represents
my initial handoff for others to jump in and vastly improve the
GUI.
Signed-off-by: Ikey Doherty <ikey.doherty@intel.com>
Have to run a local http server for testing local IPs
- Create a new network interface
- Update the local host file
- Spawn a HTTP server on the private ip
- Only use ip address base URL for testing
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This is code is still alpha. The Text-based User Interface is
undergoing a resign of the layout before beta.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>