aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmx-create b/kvmx-create
index 395e120..1f7a920 100755
--- a/kvmx-create
+++ b/kvmx-create
@@ -368,7 +368,7 @@ EOF
# Fix permissions
if [ "`whoami`" != "root" ]; then
- kvmx_sudo_run chown -R `whoami`. `dirname $image`
+ kvmx_sudo_run chown -R `whoami`: `dirname $image`
fi
}
@@ -529,7 +529,7 @@ EOF
fi
#fi
- kvmx_sudo_run chroot $WORK/ chown -R $user.$user /home/$user
+ kvmx_sudo_run chroot $WORK/ chown -R $user:$user /home/$user
echo "$user:$password" | kvmx_sudo_run chroot $WORK/ chpasswd
# Restore /etc/resolv.conf