Commit Graph

63 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
e20d87b79b
firstboot: indent some options
QubesOS/qubes-issues#1629
2016-02-08 02:17:33 +01:00
Marek Marczykowski-Górecki
098a2752af
firstboot: add option to setup combined sys-net+sys-usb
Fixes QubesOS/qubes-issues#1629
2016-02-08 02:15:39 +01:00
Marek Marczykowski-Górecki
37a6a3d3c3
firstboot: disable "Back" button when applying configuration
There is no support in canceling operation, so simply disable this
button.

Fixes QubesOS/qubes-issues#1719
2016-02-06 00:23:38 +01:00
Marek Marczykowski-Górecki
dc1374cd95
firstboot: disable USB qube option when USB keyboard or disk is present
For keyboard is not totally imposibble to use it with USB qube, but it's
somehow harder to setup (and if something goes wrong, no keyboard will
be available). But currently if booted from USB disk, it is imposible to
work with USB qube then.

At the some time, slightly rework QubesChoice external conditions - have
them checked outside of the object, which make it easier to have
different message when such option is not available (and why).

Fixes QubesOS/qubes-issues#1649
Fixes QubesOS/qubes-issues#1630
2016-02-06 00:23:37 +01:00
Marek Marczykowski-Górecki
3feb90eef2
firstboot: improve salt highstate error reporting
Full stdout/stderr is way to much to fit in that error message. Tell the
user where it can be found and what to do.
2015-11-29 04:19:39 +01:00
Marek Marczykowski-Górecki
aa8c80cbca
firstboot: start sys-usb
QubesOS/qubes-issues#704
2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
2da9f7c3ec
firstboot: fix whonix as default netvm option 2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
467402fee9
firstboot: improve wording of whonix as default netvm option 2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
c4ee550b49
firstboot: improve error reporting 2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
ecac7cb908
firstboot: set default template to 'fedora-23' 2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
be52104454
firstboot: add an option to create USB VM
Fixes QubesOS/qubes-issues#704
2015-11-29 04:19:37 +01:00
Marek Marczykowski-Górecki
e6c2a93146
firstboot: add an option to route "all" the traffic through Tor 2015-11-27 23:02:38 +01:00
Marek Marczykowski-Górecki
d98d7dbf94
firstboot: set 'Whonix' option to inactive when no Whonix templates installed
QubesOS/qubes-issues#1258
2015-11-23 19:10:45 +01:00
Marek Marczykowski-Górecki
cdd4294938
firstboot: use qvm-pci --add-class net for NetVM setup
Trying to reduce code duplication.
2015-11-23 19:09:53 +01:00
Marek Marczykowski-Górecki
8f14f91b04
firstboot: enable Whonix setup by default if Whonix templates are installed
QubesOS/qubes-issues#1258
2015-11-23 19:09:37 +01:00
Marek Marczykowski-Górecki
a2456dd73b
firstboot: restore appmenus retrieval code
This part isn't (and probably shouldn't be) handled by salt.

QubesOS/qubes-issues#1258
2015-11-23 02:34:53 +01:00
Marek Marczykowski-Górecki
0417d5de56
firstboot: force salt-minion configuration refresh
It should be done at package installation time (%post script), but
unfortunately it isn't. Probably because of wrong order of scripts calls
(missin Requires(post) dependencies).

QubesOS/qubes-issues#1258
2015-11-23 02:27:18 +01:00
Wojtek Porczyk
be64e72d63 firstboot: use Qubes preconfiguration infrastructure 2015-11-21 01:54:07 +01:00
Marek Marczykowski-Górecki
62c94eb00b firstboot: fix catching error message 2015-04-15 14:21:58 +02:00
Marek Marczykowski-Górecki
73f06661bb firstboot: do not abort configuring other templates if one fails 2015-04-15 14:21:57 +02:00
Marek Marczykowski-Górecki
168e34510d firstboot: make initial setup more defensive
Do not abort the whole process when some part fails. Cleanup *-dvm if
DispVM preparation failed.
2015-04-15 14:21:54 +02:00
Marek Marczykowski-Górecki
728bdcae27 firstboot: set fedora template as default
As the user can install other templates, it needs to be done explicitly.
2015-04-07 15:06:24 +02:00
Wojtek Porczyk
56a66e8027 rename netvm -> sys-net, firewallvm -> sys-firewall 2015-03-31 20:31:06 +02:00
Marek Marczykowski-Górecki
14a03c9bbc firstboot: start the template to finish its initial configuration
Instead of mounting its root.img directly in dom0.
2015-03-19 11:10:26 +01:00
Victor Lopez
3ddefba9f1 firstboot copy Dom0 locale.conf to TemplateVMs
locale.conf is what makes an AppVM shows menus in the local language
instead of english.
2014-09-05 01:28:38 +02:00
Marek Marczykowski-Górecki
d2cc07b04f firstboot: fix error reporting on "Service VMs" page
Also check for user existence in all required cases, not only when
"default VMs" was selected.
2014-04-08 05:50:32 +02:00
Marek Marczykowski-Górecki
32ebc2de54 firstboot: disable "Finish" button during creation of VMs (#783)
Prevent starting two simultaneous (conflicting) threads for VMs creation.
2014-03-21 03:39:27 +01:00
Marek Marczykowski
28a0e3c4de firstboot: remove /mnt/template-root dir 2013-02-25 17:09:01 +01:00
Marek Marczykowski
ca50a4ba4a firstboot: use 'service' command to start qubes-netvm
Instead of obsolete init.d scripts.
2013-01-26 22:40:01 +01:00
Marek Marczykowski
74005a240b firstboot: run most qvm-tools as normal user
As warning says, to not lead into permission problems (eg for menu entries).
2013-01-26 22:39:54 +01:00
Marek Marczykowski
d4d4dc7c09 firstboot: update to 18.6 upstream version (preserving qubes mods) 2013-01-26 04:05:35 +01:00
Marek Marczykowski
e99e0c2744 firstboot: obtain version info automatically (#676) 2012-11-27 02:17:44 +01:00
Marek Marczykowski
2c257a3dd6 firstboot: configure all installed templates 2012-07-20 13:02:19 +02:00
Marek Marczykowski
cc7d7bba4f firstboot: minor fix in exception handler 2012-03-10 22:44:08 +01:00
Marek Marczykowski
d5d9f287f0 firstboot: use qubes-prefs instead of qvm-set-default-netvm (#421) 2012-02-07 03:11:16 +01:00
Joanna Rutkowska
2db6a409a1 firstboot: use FC15 instead of FC14
BTW: this is very inelegant that we hardcode the name of the default template here.
Can we use qvm-get-default template instead?
2012-01-20 17:13:08 +01:00
Marek Marczykowski
72884188a2 firstboot: do not fail when /mnt/template-root already exists 2011-12-23 17:27:00 +01:00
Marek Marczykowski
fc5f13c385 firstboot: fix NetVM setup (#388) 2011-12-23 17:25:02 +01:00
Marek Marczykowski
30c9b577a4 firstboot: use full patch for lspci (#388) 2011-12-19 16:54:55 +01:00
Marek Marczykowski
9ad409bb4b firstboot: fix NetVM setup 2011-12-12 04:49:23 +01:00
Marek Marczykowski
4f525d173b firstboot: add all net devices to NetVM (#282)
This isn't done by qvm-create automatically now.
2011-10-13 23:01:14 +02:00
Marek Marczykowski
fae554ff5f firstboot: hide option to setup NTP (#286)
NTP will be used anyway, but at this stage there is no network connection in
dom0 to verify setup.
2011-07-21 01:58:05 +02:00
Marek Marczykowski
dfd29e7561 firstboot: create AppVMs as newly created user (#284)
Required to create appmenus in proper place (user homedir, not /usr/local).
Username retrieved by enumerating qubes group intentional - in some rare cases
the user can be created outside of this firstboot instance (ex. firstboot
launched by hand).
2011-07-21 01:46:18 +02:00
Joanna Rutkowska
09593833d6 Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/installer 2011-07-17 14:44:09 +02:00
Marek Marczykowski
c0d7a2b376 firstboot: copy ntp.conf to template root.img (#261) 2011-07-14 01:43:16 +02:00
Joanna Rutkowska
cce46d2328 firstboot: modify pre-defined AppVMs
Create 'untrsted' instead of 'red', also create 'banking', to show users that
two AppVMs might have the same color label, yet still me something different
2011-07-02 14:56:56 +02:00
Joanna Rutkowska
b50f32877f firstboot: missing spaces in EULA 2011-04-11 15:25:26 +02:00
Joanna Rutkowska
919d7c8554 Use a simple License info in firstboot 2011-04-10 23:35:08 +02:00
Joanna Rutkowska
ddd1001ea6 firstboot: ignore the 'run-as-root' warning for qvm-create 2011-04-08 11:05:41 +02:00
Joanna Rutkowska
ee4c06b88d firstboot: user message polishing 2011-04-06 19:28:20 +02:00