diff options
author | Jamie McClelland <jm@mayfirst.org> | 2009-10-08 22:06:57 -0400 |
---|---|---|
committer | Jamie McClelland <jm@mayfirst.org> | 2009-10-08 22:06:57 -0400 |
commit | 533d6000d5c080eb7372405da28cbf5be4c0cd19 (patch) | |
tree | b1c716fa582d97d51079512b3ee66eb8fd11eeaf /kvm-creator | |
parent | 0e01a06f857aab92a44f7f9c334ef100a0508a15 (diff) | |
download | kvm-manager-533d6000d5c080eb7372405da28cbf5be4c0cd19.tar.gz kvm-manager-533d6000d5c080eb7372405da28cbf5be4c0cd19.tar.bz2 |
add user to kvm group.
Diffstat (limited to 'kvm-creator')
-rwxr-xr-x | kvm-creator | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm-creator b/kvm-creator index 59eb7eb..c19830b 100755 --- a/kvm-creator +++ b/kvm-creator @@ -49,6 +49,7 @@ create() { [ -z "$NAME" ] && die "Please pass the name of the virtual server to create" [ -z "$VG" ] && die "Please pass the name of the volume group to use" adduser "$NAME" --disabled-password --gecos "$NAME KVM user,,," + addgroup "$NAME" kvm for dir in .ssh vms "vms/$NAME"; do [ ! -d "/home/$NAME/$dir" ] && mkdir "/home/$NAME/$dir" done |