aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvm-creator1
1 files changed, 0 insertions, 1 deletions
diff --git a/kvm-creator b/kvm-creator
index b726e9a..ff51243 100755
--- a/kvm-creator
+++ b/kvm-creator
@@ -73,7 +73,6 @@ create() {
for dir in .ssh vms "vms/$NAME"; do
[ ! -d "/home/$NAME/$dir" ] && mkdir "/home/$NAME/$dir"
done
- touch "/home/$NAME/vms/$NAME/netboot"
chown "$NAME:$NAME" "/home/$NAME/"{.ssh,vms,"vms/$NAME","vms/$NAME/netboot"}
cp /root/.ssh/authorized_keys "/home/$NAME/.ssh/"
lvcreate --name "$NAME" --size "$SIZE" $VG