aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2009-10-09 12:33:28 -0400
committerJamie McClelland <jm@mayfirst.org>2009-10-09 12:33:28 -0400
commitabb5ab7f5a76b16079aae39e1f25b36e2ca0d55f (patch)
tree3e5e9d08e8180e7a58aa9ce52f4f2060697a464f
parent320524f9169b8c540733898687b64ccbf9fd78f7 (diff)
downloadkvm-manager-abb5ab7f5a76b16079aae39e1f25b36e2ca0d55f.tar.gz
kvm-manager-abb5ab7f5a76b16079aae39e1f25b36e2ca0d55f.tar.bz2
I removed the line to create the netboot file and instead put
directions in the README. This way people can decide which method they want to use.
-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