aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opennebula/opennebula-node-kvm.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-06-13 10:02:25 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-06-13 10:02:35 +0000
commit35eb88a903d1d265586a6a02d2ae0f145ec36717 (patch)
treeb65faca06d5661ff787d3534ebe33ef9704e0b3d /testing/opennebula/opennebula-node-kvm.pre-install
parentf4b3c15760e735acf25006852e865d7238fa37ce (diff)
downloadaports-35eb88a903d1d265586a6a02d2ae0f145ec36717.tar.bz2
aports-35eb88a903d1d265586a6a02d2ae0f145ec36717.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, 7 insertions, 0 deletions
diff --git a/testing/opennebula/opennebula-node-kvm.pre-install b/testing/opennebula/opennebula-node-kvm.pre-install
new file mode 100644
index 0000000000..cca1f1f333
--- /dev/null
+++ b/testing/opennebula/opennebula-node-kvm.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S oneadmin 2>/dev/null
+adduser -S -D -s /bin/ash \
+ -H -h /var/lib/one -G oneadmin \
+ -g "OpenNebula user" oneadmin 2>/dev/null
+exit 0