(self, servicename,forcestart=True)
| 227 | return bash("sudo /usr/sbin/service " + servicename + " start").isSuccess() |
| 228 | |
| 229 | def enableService(self, servicename,forcestart=True): |
| 230 | bash("sudo update-rc.d -f " + servicename + " remove") |
| 231 | bash("sudo update-rc.d -f " + servicename + " defaults") |
| 232 | return self.startService(servicename,force=forcestart) |
| 233 | |
| 234 | def isKVMEnabled(self): |
| 235 | return bash("kvm-ok").isSuccess() |
nothing calls this directly
no test coverage detected