Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
Joanna Rutkowska
d26b05710f firstboot: qubes_setup.py polishing 2011-04-06 13:28:57 +02:00
Joanna Rutkowska
8e5f8601d9 Ask user whether to create 3 pre-defined AppVMs or just service VMs
...or perhaps to not create anything (for advanced users/debugging)
2011-04-06 12:43:38 +02:00
Joanna Rutkowska
d9afe90d9b User message spelling 2011-04-06 10:20:38 +02:00
Joanna Rutkowska
d544ab893c Default firewall VM is reasonably trusted, use green label instead of red 2011-04-06 10:19:30 +02:00
Joanna Rutkowska
ae33d7b67f Use 'firewallvm' name by default
While for us it might be obvious what 'fwvm' stands for, a typical user might be more puzzeld.
2011-04-06 09:56:45 +02:00
Joanna Rutkowska
899ec4341c User message spelling correction 2011-04-05 23:11:45 +02:00
Joanna Rutkowska
61d25f0872 firstboot: qubes_setup polishing
* Don't offer an option for netwokring in Dom0
* Set timezone in default tempate
* Enable networking before creating DispVM template
2011-04-05 19:17:36 +02:00
Tomasz Sterna
60655101c7 Implemented 'Configure Qubes' firstboot screen. #120 & #150 2011-04-05 19:17:36 +02:00