aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opennebula/opennebula-node-kvm.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-06-14 10:53:43 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-06-14 10:53:43 +0000
commit907e523201dc10c2a8cf25b3405185bb7a9e93d8 (patch)
tree94b52d6878b08917920ba3de3403c28cbd8afd66 /testing/opennebula/opennebula-node-kvm.pre-install
parent31a9c92f9374f56ef31d7875d47661f3ce502251 (diff)
downloadaports-907e523201dc10c2a8cf25b3405185bb7a9e93d8.tar.bz2
aports-907e523201dc10c2a8cf25b3405185bb7a9e93d8.tar.xz
testing/opennebula: multiple fixes
Diffstat (limited to 'testing/opennebula/opennebula-node-kvm.pre-install')
-rw-r--r--testing/opennebula/opennebula-node-kvm.pre-install7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/opennebula/opennebula-node-kvm.pre-install b/testing/opennebula/opennebula-node-kvm.pre-install
index cca1f1f333..5cf97eebc9 100644
--- a/testing/opennebula/opennebula-node-kvm.pre-install
+++ b/testing/opennebula/opennebula-node-kvm.pre-install
@@ -1,7 +1,12 @@
#!/bin/sh
addgroup -S oneadmin 2>/dev/null
+addgroup -S libvirt 2>/dev/null
adduser -S -D -s /bin/ash \
- -H -h /var/lib/one -G oneadmin \
+ -h /var/lib/one -G oneadmin \
-g "OpenNebula user" oneadmin 2>/dev/null
+addgroup oneadmin libvirt 2>/dev/null
+addgroup oneadmin readproc 2>/dev/null
+addgroup oneadmin kvm 2>/dev/null
+passwd -u oneadmin &>/dev/null
exit 0