aboutsummaryrefslogtreecommitdiff
path: root/kvm-creator
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2009-10-26 15:04:22 -0400
committerJamie McClelland <jm@mayfirst.org>2009-10-26 15:04:22 -0400
commit9e5d57f5b914b169bbb7c4ecd9d5306e6b8190e5 (patch)
treeb6219a09e7716f42c951459c59815df868964be7 /kvm-creator
parent562bba46756085b79aa6ce617ec3c104b929a0b0 (diff)
downloadkvm-manager-9e5d57f5b914b169bbb7c4ecd9d5306e6b8190e5.tar.gz
kvm-manager-9e5d57f5b914b169bbb7c4ecd9d5306e6b8190e5.tar.bz2
Don't attempt to chown non-existent netboot file.
Diffstat (limited to 'kvm-creator')
-rwxr-xr-xkvm-creator2
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}