diff options
| author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-04-23 13:13:41 +0200 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-25 06:56:47 +0000 |
| commit | da4e96aacef5e9bd9a7dccecffdc92f588a6dd78 (patch) | |
| tree | 6121ad4aa9d1cb1aca5c3aac0fbde35f4943b50c /testing/opennebula | |
| parent | 8ac766921c78afe221fa463b6ec07e9e4da4d520 (diff) | |
| download | aports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.bz2 aports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.xz | |
Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present):
addgroup -S -g ... GROUP
adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
Diffstat (limited to 'testing/opennebula')
| -rw-r--r-- | testing/opennebula/opennebula-node-kvm.pre-install | 4 | ||||
| -rw-r--r-- | testing/opennebula/opennebula.pre-install | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/testing/opennebula/opennebula-node-kvm.pre-install b/testing/opennebula/opennebula-node-kvm.pre-install index 73173a745e..fa541642ec 100644 --- a/testing/opennebula/opennebula-node-kvm.pre-install +++ b/testing/opennebula/opennebula-node-kvm.pre-install @@ -2,8 +2,8 @@ addgroup -S oneadmin 2>/dev/null addgroup -S libvirt 2>/dev/null -adduser -S -D -s /bin/ash \ - -h /var/lib/one -G oneadmin \ +adduser -S -D \ + -h /var/lib/one -s /bin/ash -G oneadmin \ -g "OpenNebula user" oneadmin 2>/dev/null addgroup oneadmin libvirt 2>/dev/null addgroup oneadmin readproc 2>/dev/null diff --git a/testing/opennebula/opennebula.pre-install b/testing/opennebula/opennebula.pre-install index 15527ebc01..d54936abe7 100644 --- a/testing/opennebula/opennebula.pre-install +++ b/testing/opennebula/opennebula.pre-install @@ -1,8 +1,8 @@ #!/bin/sh addgroup -S oneadmin 2>/dev/null -adduser -S -D -s /bin/ash \ - -H -h /var/lib/one -G oneadmin \ +adduser -S -D -H \ + -s /bin/ash -h /var/lib/one -G oneadmin \ -g "OpenNebula user" oneadmin 2>/dev/null passwd -u oneadmin 2>/dev/null |
