firstboot: ignore the 'run-as-root' warning for qvm-create
This commit is contained in:
parent
3738e589ce
commit
ddd1001ea6
@ -146,10 +146,10 @@ class moduleClass(Module):
|
|||||||
self.process_error = str(e)
|
self.process_error = str(e)
|
||||||
|
|
||||||
def do_create_netvm(self):
|
def do_create_netvm(self):
|
||||||
self.run_command(['/usr/bin/qvm-create', '--net', '--label', 'red', self.netvm_name])
|
self.run_command(['/usr/bin/qvm-create', '--force-root', '--net', '--label', 'red', self.netvm_name])
|
||||||
|
|
||||||
def do_create_fwvm(self):
|
def do_create_fwvm(self):
|
||||||
self.run_command(['/usr/bin/qvm-create', '--proxy', '--label', 'green', self.fwvm_name])
|
self.run_command(['/usr/bin/qvm-create', '--force-root', '--proxy', '--label', 'green', self.fwvm_name])
|
||||||
|
|
||||||
def do_create_dvm(self):
|
def do_create_dvm(self):
|
||||||
self.run_command(['/usr/bin/qvm-create-default-dvm', '--default-template', '--default-script'])
|
self.run_command(['/usr/bin/qvm-create-default-dvm', '--default-template', '--default-script'])
|
||||||
@ -174,9 +174,9 @@ class moduleClass(Module):
|
|||||||
subprocess.check_call(['/bin/umount', '/mnt/template-root'])
|
subprocess.check_call(['/bin/umount', '/mnt/template-root'])
|
||||||
|
|
||||||
def do_create_appvms(self):
|
def do_create_appvms(self):
|
||||||
self.run_command(['/usr/bin/qvm-create', 'work', '--label', 'green'])
|
self.run_command(['/usr/bin/qvm-create', '--force-root', 'work', '--label', 'green'])
|
||||||
self.run_command(['/usr/bin/qvm-create', 'personal', '--label', 'yellow'])
|
self.run_command(['/usr/bin/qvm-create', '--force-root', 'personal', '--label', 'yellow'])
|
||||||
self.run_command(['/usr/bin/qvm-create', 'red', '--label', 'red'])
|
self.run_command(['/usr/bin/qvm-create', '--force-root', 'red', '--label', 'red'])
|
||||||
|
|
||||||
def createScreen(self):
|
def createScreen(self):
|
||||||
self.vbox = gtk.VBox(spacing=5)
|
self.vbox = gtk.VBox(spacing=5)
|
||||||
|
Loading…
Reference in New Issue
Block a user