Michael Hudson-Doyle
7236771d2f
correctly enable dhcp4 when configuring a ssid for a wlan interface
2020-05-19 11:53:03 +12:00
Michael Hudson-Doyle
acd6ee0032
Merge pull request #775 from mwhudson/logged-passwords-lp-1879381
...
do not log wifi passwords from existing configs
2020-05-19 11:25:44 +12:00
Michael Hudson-Doyle
61a0ba4a4b
Merge pull request #772 from xnox/consoleconf-wifi
...
network: fix wifi screen
2020-05-19 08:12:55 +12:00
Michael Hudson-Doyle
e588d6475f
do not log wifi passwords from existing configs
2020-05-19 07:47:33 +12:00
Dimitri John Ledkov
debc34cb3c
Fix typo
2020-05-18 19:59:47 +01:00
Dimitri John Ledkov
ef838cabd1
Merge pull request #770 from bboozzoo/bboozzoo/run-chooser-when-disabled
...
console-conf: always run when triggered for the chooser
2020-05-18 12:16:06 +01:00
Dimitri John Ledkov
da1477ba01
network: fix wifi screen
...
WiFi screen was broken since NetDev refactor. Unbreak it.
2020-05-18 12:00:42 +01:00
Michael Hudson-Doyle
2ea7f6cd5a
Merge pull request #769 from idryzhov/fix-version
...
write version into autoinstall-user-data
2020-05-15 08:09:56 +12:00
Michael Hudson-Doyle
0ef70d4ba8
Merge pull request #768 from idryzhov/fix-keyboard
...
allow keyboard/toggle to be null
2020-05-15 08:09:09 +12:00
Michael Hudson-Doyle
ccc7d2e95f
Merge pull request #763 from mwhudson/dont-always-preserve_hostname
...
do not set preserve_hostname if there is no hostname set
2020-05-15 08:08:48 +12:00
Michael Hudson-Doyle
577bf957af
Merge pull request #767 from mwhudson/default-lvm
...
default to setting up LVM in guided storage screen
2020-05-15 08:08:13 +12:00
Maciej Borzecki
bd859a9a4b
bin/console-conf-wrapper: check /var/lib/console-conf/complete when in recovery
...
Once console-conf is started for recovery chooser, exit early when the recovery
chooser does not exist.
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-05-13 18:27:20 +02:00
Maciej Borzecki
06de80cf60
debian/console-conf@.service: use triggering conditions, make recovery marker file one
...
Use triggering conditions for controlling when console-conf should run. We
effectively want it to start if there is no /var/lib/console-conf/complete
file *or* the snapd recovery marker file exists.
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-05-13 18:24:27 +02:00
Igor Ryzhov
3c7960ca93
write version into autoinstall-user-data
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2020-05-13 19:06:57 +03:00
Igor Ryzhov
183675522d
allow keyboard/toggle to be null
...
Documentation allows toggle to be null and it's the default value.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2020-05-13 18:24:48 +03:00
Michael Hudson-Doyle
812f33cab6
default to setting up LVM in guided storage screen
2020-05-13 16:34:35 +12:00
Michael Hudson-Doyle
71ee369c7f
Merge pull request #765 from mwhudson/no-live-session-no-error-reports
...
do not generate a crash report if we are not in a live session
2020-05-12 22:52:09 +12:00
Michael Hudson-Doyle
7db70650fe
write the dm_crypt key to a keyfile, not curtin config
2020-05-12 16:53:38 +12:00
Michael Hudson-Doyle
936e3877bb
slightly change how to customize the serialization of a particular field
2020-05-12 16:16:21 +12:00
Michael Hudson-Doyle
ec9158f4be
do not generate a crash report if we are not in a live session
...
Some people for whatever reason have subiquity installed on their systems
and their error reports flood the tracker.
2020-05-12 10:59:38 +12:00
Michael Hudson-Doyle
50bb413507
Merge pull request #764 from mwhudson/new-lint-fixes
...
fix some lint found by new version of flake8
2020-05-12 10:59:18 +12:00
Michael Hudson-Doyle
24abf5dd4e
fix some lint found by new version of flake8
2020-05-12 10:41:54 +12:00
Michael Hudson-Doyle
d607379876
do not set preserve_hostname if there is no hostname set
...
only applicable in the autoinstall case
2020-05-11 21:32:02 +12:00
Michael Hudson-Doyle
758def3bf1
Merge pull request #760 from mwhudson/curtin-update
...
update to curtin master
2020-05-07 12:56:46 +12:00
Michael Hudson-Doyle
cb0f77c33e
update to curtin master
2020-05-07 12:48:53 +12:00
Dimitri John Ledkov
6a5e36ed11
Merge pull request #758 from xnox/update-18n
...
Update 18n
2020-05-06 13:30:40 +01:00
Dimitri John Ledkov
9731105bd1
Merge pull request #757 from mwhudson/better-i18n
...
attempt to make providing a good translation easier
2020-05-06 13:30:27 +01:00
Dimitri John Ledkov
44d49265ba
i18n: update translations
...
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2020-05-06 13:24:15 +01:00
Dimitri John Ledkov
000a94d891
i18n: Update POTFILES.in
...
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2020-05-06 13:23:38 +01:00
Dimitri John Ledkov
2e85a2ecd6
i18n: add scripts to help with translation updates.
...
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2020-05-06 13:22:13 +01:00
Michael Hudson-Doyle
2d65fe4f16
attempt to make providing a good translation easier
...
* annotate a few missed string literals with _()
* try to consistently use named placeholders when formatting strings
for display (i.e. _("frob the {thing}") not _("frob the {}")
* run selector values, form captions and form help through _() before
display
* use ngettext in one place. not sure if there need to be more...
* reduce cuteness about how strings are constructed in a few places
2020-05-06 21:16:24 +12:00
Michael Hudson-Doyle
3ca6eee7c8
Merge pull request #756 from mwhudson/autoinstall-mirror-geoip-disable
...
allow autoinstalls to disable geoip
2020-05-06 19:35:06 +12:00
Michael Hudson-Doyle
bdb9d07867
Merge pull request #755 from mwhudson/in-target-late-commands
...
set $TARGET_MOUNT_POINT when running late-commands
2020-05-06 19:34:51 +12:00
Michael Hudson-Doyle
cb3a321128
allow autoinstalls to disable geoip
...
I initialized things in the wrong order
2020-05-06 19:22:40 +12:00
Michael Hudson-Doyle
d7e295d500
set $TARGET_MOUNT_POINT when running late-commands
...
so one does not have to pass --target to curtin in-target in a
late-command
2020-05-06 19:21:27 +12:00
Michael Hudson-Doyle
10035ab28f
Merge pull request #754 from mwhudson/no-curtin-networking
...
disable curtin networking entirely
2020-05-06 16:32:31 +12:00
Michael Hudson-Doyle
70a1abb6c3
disable curtin networking entirely
...
this does not actually have much effect, because we write out a config file
that disables cloud-init networking anyway, but it is confusing to still have
a curtin-written cloud-init networking config too
2020-05-06 10:31:44 +12:00
Michael Hudson-Doyle
ab800a6fb8
Merge pull request #753 from mwhudson/lp-1876902
...
fix crash on using f1 to open help menu
2020-05-06 06:40:10 +12:00
Michael Hudson-Doyle
dc4db6f88c
fix crash on using f1 to open help menu
2020-05-06 06:39:24 +12:00
Michael Hudson-Doyle
5d05a7b95e
Merge pull request #752 from mwhudson/lp-1876874
...
round autoinstall partition sizes using percentages down to a megabyte boundary
2020-05-05 23:12:24 +12:00
Michael Hudson-Doyle
ba106bbbed
tests
2020-05-05 23:05:59 +12:00
Michael Hudson-Doyle
bc6e859109
round autoinstall partition sizes using percentages down to a megabyte boundary
...
https://bugs.launchpad.net/subiquity/+bug/1876874
2020-05-05 23:02:16 +12:00
Michael Hudson-Doyle
1404fee270
Merge pull request #751 from mwhudson/context-fixes
...
improve with_context helper a bit, use it more
2020-05-05 17:01:35 +12:00
Michael Hudson-Doyle
4e3996f3f8
improve with_context helper a bit, use it more
...
the decorated function must now be called with keyword arguments
2020-05-05 16:20:03 +12:00
Michael Hudson-Doyle
449f459ecb
Merge pull request #750 from mwhudson/autoinstall-no-net
...
fix autoinstall crash with no network
2020-05-05 16:14:29 +12:00
Michael Hudson-Doyle
881be5ea52
fix autoinstall crash with no network
2020-05-05 14:43:06 +12:00
Michael Hudson-Doyle
d19de79e4c
Merge pull request #746 from mwhudson/copy-autoinstall-netpan-to-target
...
copy autoinstall netplan to target
2020-05-04 20:04:15 +12:00
Michael Hudson-Doyle
86376a4b78
be more intelligent about waiting for nics to get dhcp address when no autoinstall config is provided
2020-05-04 19:39:08 +12:00
Michael Hudson-Doyle
4891d76aca
actually write the netplan from the autoinstall config to the target system
...
I got lost in a forest of similarly named methods :(
2020-05-04 19:37:43 +12:00
Michael Hudson-Doyle
9ea34e8b0d
Merge pull request #749 from mwhudson/better-nested-contexts
...
make it easier to nest contexts appropriately
2020-05-04 19:36:26 +12:00