Commit graph

18 commits

Author SHA1 Message Date
Floris Bos
3ac4ee7326 On opening advanced settings, focus advanced settings popup
Make keyboard navigation work better.
2022-02-03 11:38:51 +01:00
Floris Bos
0f6115e3a5 Enforce password is filled in if "set user" is checked even when not using SSH
Also fix logic for persisting wheter SSH is enabled.
2022-02-01 16:02:50 +01:00
Floris Bos
34460f84b8 Advanced settings: rework username/password logic
- Also change group name.
- Outsource changes to /usr/lib/userconf-pi/userconf if present
2022-01-31 14:26:08 +01:00
Floris Bos
243da48257 cloud-init: reorder ssh/user creation 2022-01-21 17:25:32 +01:00
Floris Bos
83513733ef Advanced options: allow username and password to be set without ssh
- Allow username and password to be set separate to SSH.
  Does enforce password to be changed if SSH is enabled without
  public key authentication.
- cloud-init: apt: disable date/time checks
2022-01-20 17:24:25 +01:00
S Murphy
dcf93bd5e8 Added option to specify SSID is hidden. 2022-01-09 21:32:25 +00:00
Floris Bos
47d331b664 Allow multi-line authorized_keys
Closes #316
2021-12-20 21:46:37 +01:00
Floris Bos
9a9c5eb490 cloud-init: set keyboard through localectl
Set keyboard through systemd's localectl instead of writing to
Debian specific /etc/default/keyboard directly, as this also
works for other Linux distributions.

On Debian/Ubuntu one does still need to run a distro specific
command to have the keyboard change be effective without
reboot first (setupcon).
2021-11-25 01:34:13 +01:00
Floris Bos
fe2c1c55bd Linux Embedded: add support for language/keyboard selection 2021-11-22 00:21:30 +01:00
Floris Bos
2ada96e53a Custom username on RPI OS: fixup sudo nopasswd
Ref #287
2021-11-20 13:29:22 +01:00
Floris Bos
506330f486 Advanced settings: allow specifying username
Ref #287
2021-11-19 23:30:42 +01:00
Floris Bos
9c8f737cf6 Minor cloudinit tweaks
- Enclose SSID within brackets, to allow SSIDs with spaces
- Call 'setupcon' to have keyboard layout change applied

Setting wifi country code on Ubuntu still broken
2021-11-19 21:45:47 +01:00
Floris Bos
8f9fbcffeb First attempt at cloudinit support
Experimental
2021-11-18 20:50:44 +01:00
Floris Bos
e2296deb1a Mac OS X: advanced options. offer to prefill system wifi PSK
Offer to prefill the wifi password of the system running
Imager, like we do on Windows.

Ask user first if that is desired, as it does cause OS X to
generate a prompt asking for admin password.
2021-05-04 22:51:08 +02:00
Floris Bos
b57da413a6 Fix handling of wifi password with special characters
We could cover the backtic case by using nowdoc instead of
heredoc, but then there may still be problems with double quotes.
Put the PBKDF2 hash instead of plaintext password in
wpa_supplicant.conf to solve such problems.

Closes #206
2021-04-11 14:09:28 +02:00
Floris Bos
c67cd9bb19 Color password field red if user enabled SSH but forget password
Ref #188
2021-03-27 11:04:13 +01:00
Floris Bos
abbed47f97 Shift+Ctrl+X option screen: allow persisting settings 2021-01-20 13:04:18 +01:00
Floris Bos
86f893388c Shift+Ctrl+X for advanced users that likes to customize the image
- Adds "hidden" shift+ctrl+X shortcut for eXpert image customization
  options.

Allows one to set certain options on RPI OS images, namely:

* disable overscan
* set hostname
* enable ssh and
  - set Pi user password if using password authentication
  OR
  - set authorized_keys
    (if running Imager on Linux/Mac this will
     have contents of ~/.ssh/id_rsa.pub prefilled)
* configure wifi settings
  (if computer running Imager is connected by wifi it will
  prefill wifi SSID and if on Windows also PSK).
* set time zone and keyboard layout

  Related to feature requests/issues:
  Ref #127
  Ref #86
  Ref #102
  Ref #73
  Ref #68
  Ref #25
  Ref #12

- Option Window also allows setting a couple other general settings:

* Adds option for audible notification (beep) when imaging completes.
  Closes #46

* Adds option not to eject media when done.
  Closes #144

- No longer suspends a number of Windows services during Imaging
  (We want Windows to detect the drive and mount it, or we may
   not be able to alter files on FAT partition).
2021-01-17 17:43:17 +01:00