From cce46d2328a18a89714bef3962565bbe9dfd69b4 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Sat, 2 Jul 2011 14:56:56 +0200 Subject: [PATCH] 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 --- firstboot/modules/qubes_setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/firstboot/modules/qubes_setup.py b/firstboot/modules/qubes_setup.py index 82b0de5..cf49edc 100644 --- a/firstboot/modules/qubes_setup.py +++ b/firstboot/modules/qubes_setup.py @@ -175,15 +175,16 @@ class moduleClass(Module): def do_create_appvms(self): self.run_command(['/usr/bin/qvm-create', '--force-root', 'work', '--label', 'green']) + self.run_command(['/usr/bin/qvm-create', '--force-root', 'banking', '--label', 'green']) self.run_command(['/usr/bin/qvm-create', '--force-root', 'personal', '--label', 'yellow']) - self.run_command(['/usr/bin/qvm-create', '--force-root', 'red', '--label', 'red']) + self.run_command(['/usr/bin/qvm-create', '--force-root', 'untrusted', '--label', 'red']) def createScreen(self): self.vbox = gtk.VBox(spacing=5) label = gtk.Label(_("Almost there! We just need to create a few system service VM.\n\n" - "We can also create a few AppVMs that might be useful for most users " - "...or you might prefer to do it yourself later.\n\n" + "We can also create a few AppVMs that might be useful for most users, " + "or you might prefer to do it yourself later.\n\n" "Choose an option below and click 'Finish'...")) label.set_line_wrap(True) @@ -191,7 +192,7 @@ class moduleClass(Module): label.set_size_request(500, -1) self.vbox.pack_start(label, False, True, padding=20) - self.radio_servicevms_and_appvms = gtk.RadioButton(None, _("Create default service VMs, and pre-defined AppVMs (work, personal, red)")) + self.radio_servicevms_and_appvms = gtk.RadioButton(None, _("Create default service VMs, and pre-defined AppVMs (work, banking, personal, untrusted)")) self.vbox.pack_start(self.radio_servicevms_and_appvms, False, True) self.radio_onlyservicevms = gtk.RadioButton(self.radio_servicevms_and_appvms, _("Just create default service VMs"))