Michael Hudson-Doyle
daab350468
use a uuid for instance-id
2017-11-21 16:23:49 +13:00
Michael Hudson-Doyle
ee0f10bf13
delete some long commented out code
2017-11-21 15:53:52 +13:00
Michael Hudson-Doyle
cfbc4ffc0c
more precise color rendering in xterm-like terminals
2017-11-21 15:24:07 +13:00
Michael Hudson-Doyle
484239c060
do not move on from network screen inside callback
...
things get super confusing when there is an exception
2017-11-21 11:27:26 +13:00
Michael Hudson-Doyle
36bcc539c3
move curtin config rendering to a method on SubiquityModel
...
this moves to curtin's native netplan support as a side effect
2017-11-20 13:45:58 +13:00
Michael Hudson-Doyle
d8724af4c6
fix some strange indentation
2017-11-20 12:49:01 +13:00
Michael Hudson-Doyle
c23a335fba
fix identity view when no answers are supplied
2017-11-20 12:31:47 +13:00
Michael Hudson-Doyle
fccd653ae4
only stage the users-and-groups file
2017-11-20 11:05:05 +13:00
Michael Hudson-Doyle
947b65f264
Merge pull request #267 from CanonicalLtd/mwhudson/non-interactive-mode
...
simple non interactive mode
2017-11-20 09:11:16 +13:00
Michael Hudson-Doyle
7b375d9d92
always load answers from a fixed path if it is present
2017-11-17 15:09:16 +13:00
Michael Hudson-Doyle
6919e5ce68
minimal implementation of canned answers
...
this allows automation of the enter-enter-enter flow, not much more than that
2017-11-17 13:25:16 +13:00
Michael Hudson-Doyle
e7afa9b0b3
correct _data_ready call when udev is not settled
2017-11-17 13:24:30 +13:00
Michael Hudson-Doyle
3bad7e1295
add -c option to inject-subiquity-snap.sh too
2017-11-17 12:34:23 +13:00
Michael Hudson-Doyle
1cf60ccafd
use probert's requirements.txt, subiquity does not directly depend on pyudev
2017-11-17 11:15:11 +13:00
Michael Hudson-Doyle
5d65ab88ab
add -i flag to inject-subiquity-snap.sh to allow random edits of iso
2017-11-17 10:25:08 +13:00
Michael Hudson-Doyle
8086d5df81
move to a unified model instance
...
and stop having the controllers construct each model instance for itself
2017-11-16 12:48:20 +13:00
Michael Hudson-Doyle
a13ef47bab
remove InstallProgressModel
2017-11-16 12:34:30 +13:00
Michael Hudson-Doyle
e7bfb9ef0c
change examples/mwhudson.json to have a devpath not usually mounted
...
really "which partitions are mounted" should be part of the save data.
2017-11-16 12:11:30 +13:00
Michael Hudson-Doyle
745b934a46
rename WelcomeModel to LocaleModel
2017-11-16 12:04:05 +13:00
Michael Hudson-Doyle
b602f9316b
Merge pull request #266 from CanonicalLtd/mwhudson/probert-reorg
...
changes following changes in probert
2017-11-16 10:53:55 +13:00
Michael Hudson-Doyle
fcd189a892
remove examples that now fail to load with new network format
...
add example from my system.
2017-11-16 10:50:50 +13:00
Michael Hudson-Doyle
947a65a3bb
changes following changes in probert
...
the only really visible effect of all this is to make --dry-run
--machine-config foo show the network config from foo, not the machine
running subiquity. (The existing configs won't work, though)
2017-11-15 14:27:24 +13:00
Michael Hudson-Doyle
ca631ab9c1
inject-subiquity-snap.sh: fix perms in generated installer.squashfs
...
this makes the generated ISOs boot again.
2017-11-10 15:37:24 +13:00
Michael Hudson-Doyle
75fdfb4c4e
Merge pull request #265 from CanonicalLtd/mwhudson/scrollbars
...
add scrollbars to listboxes
2017-11-09 20:04:06 +13:00
Michael Hudson-Doyle
4d0d48f2f5
add some comments
2017-10-25 21:52:43 +13:00
Michael Hudson-Doyle
94e58a0aaa
reduce padding around overlays
2017-10-25 21:27:31 +13:00
Michael Hudson-Doyle
3618b85aec
only scroll down log listbox if already at end
2017-10-25 21:10:05 +13:00
Michael Hudson-Doyle
c0889dfffc
add explicit entries in the palette for scrollbar parts
2017-10-25 21:09:49 +13:00
Michael Hudson-Doyle
3515961ac9
slightly lower level implementation of ScrollBarListBox.render
...
lower level and less reentrant, which is the main advantage
2017-10-25 21:01:03 +13:00
Michael Hudson-Doyle
0b4ae2b1a5
prevent scrollbox from getting squished to 0 rows
2017-10-25 20:50:53 +13:00
Michael Hudson-Doyle
0e89600577
update log listbox in a way that works better with scrollbar
2017-10-25 20:49:59 +13:00
Michael Hudson-Doyle
bf1324f9b3
move show disk info button out of listbox
2017-10-25 16:23:25 +13:00
Michael Hudson-Doyle
74c7e091a5
Merge pull request #264 from CanonicalLtd/mwhudson/less-default-padding
...
reduce default padding, tighten scrollable areas
2017-10-24 08:58:31 +13:00
Michael Hudson-Doyle
08e51b87ae
move some listboxs inside their padding
2017-10-20 15:51:01 +13:00
Michael Hudson-Doyle
5405abecc3
Add a scrollbar to our custom listbox implementation.
...
It's pretty ugly for now.
2017-10-20 15:47:32 +13:00
Michael Hudson-Doyle
7db6158b8e
very slight tweak to installprogress view
2017-10-20 15:32:28 +13:00
Michael Hudson-Doyle
469bbdf61a
re-do padding and layout of identity view
2017-10-20 15:27:31 +13:00
Michael Hudson-Doyle
8fdd9b5886
re-do padding and layout of filesystem views
2017-10-20 15:24:55 +13:00
Michael Hudson-Doyle
b6a27582c9
redo padding and layout of network views
2017-10-20 14:55:01 +13:00
Michael Hudson-Doyle
c71825c445
re-introduce padding on language selection screen
...
and simplify it a bit while we're here.
2017-10-20 14:09:00 +13:00
Michael Hudson-Doyle
1db8a1dc40
get rid of padding after header
2017-10-20 14:06:57 +13:00
vorlonofportland
9266969bae
Merge pull request #263 from CanonicalLtd/mwhudson/remove-language-disclaimer
...
remove disclaimer from welcome screen
2017-10-12 22:51:47 -04:00
Michael Hudson-Doyle
b843b24f17
remove disclaimer from welcome screen
...
now that we have actual translations, this screen actually makes sense and we
can remove the stuffy "(More language choices will appear in time)" text
2017-10-13 14:12:19 +13:00
Mathieu Trudel-Lapierre
3ae977656f
Merge pull request #262 from CanonicalLtd/cyphermox/net-selection
...
Indicate which network config method is active
2017-10-12 11:22:20 -04:00
Mathieu Trudel-Lapierre
491ca1e1c0
Indicate which network config method is active.
2017-10-12 11:01:33 -04:00
vorlonofportland
1634c91948
Merge pull request #260 from CanonicalLtd/mwhudson/users-and-groups
...
add user to the correct set of default groups
2017-10-12 09:31:33 -04:00
Michael Hudson-Doyle
5507fd0fbc
clunky way of indicating which network config method is active
2017-10-11 21:35:10 +13:00
Michael Hudson-Doyle
a05289b90e
add missing \
2017-10-11 20:57:12 +13:00
Michael Hudson-Doyle
8be8bbe632
add user to sudo group too!
2017-10-11 20:52:13 +13:00
Michael Hudson-Doyle
6bdeab6a08
slightly comical way of getting the created user added to the right groups
2017-10-11 20:31:09 +13:00