diff options
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 |