diff options
Diffstat (limited to 'kvm-creator')
-rwxr-xr-x | kvm-creator | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-creator b/kvm-creator index 40cc724..55aeccd 100755 --- a/kvm-creator +++ b/kvm-creator @@ -73,7 +73,7 @@ create() { for dir in .ssh vms "vms/$NAME"; do [ ! -d "/home/$NAME/$dir" ] && mkdir "/home/$NAME/$dir" done - chown "$NAME:$NAME" "/home/$NAME/"{.ssh,vms,"vms/$NAME","vms/$NAME/netboot"} + chown "$NAME:$NAME" "/home/$NAME/"{.ssh,vms,"vms/$NAME"} cp /root/.ssh/authorized_keys "/home/$NAME/.ssh/" lvcreate --name "$NAME" --size "$SIZE" $VG mkdir "/etc/sv/kvm/$NAME"{,/log,/env} |