blob: 5cf97eebc98cbf6c183a1958aefe8770ebcd4a16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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 &>/dev/null
exit 0
|