aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opennebula/opennebula-node-kvm.pre-install
blob: 73173a745eff476bf8c8a6db8491308ba7bb277a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

addgroup -S oneadmin 2>/dev/null
addgroup -S libvirt 2>/dev/null
adduser -S -D -s /bin/ash \
	-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 2>/dev/null

exit 0